SourceForge logo
SourceForge logo
Menu

phpwiki-checkins

From: Reini U. <ru...@us...> - 2006年10月08日 12:40:53
Update of /cvsroot/phpwiki/phpwiki/lib/WikiDB/backend
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26304
Modified Files:
	PearDB.php 
Log Message:
minor cleanup: remove unused vars
Index: PearDB.php
===================================================================
RCS file: /cvsroot/phpwiki/phpwiki/lib/WikiDB/backend/PearDB.php,v
retrieving revision 1.98
retrieving revision 1.99
diff -u -2 -b -p -d -r1.98 -r1.99
--- PearDB.php	3 Jun 2006 08:50:41 -0000	1.98
+++ PearDB.php	8 Oct 2006 12:40:51 -0000	1.99
@@ -213,5 +213,5 @@ extends WikiDB_backend
 $dbh->escapeSimple($pagename)));
 */
- $sth = $dbh->query("UPDATE $page_tbl"
+ $dbh->query("UPDATE $page_tbl"
 . " SET hits=?, pagedata=?"
 . " WHERE pagename=?",
@@ -230,5 +230,5 @@ extends WikiDB_backend
 $dbh = &$this->_dbh;
 $page_tbl = $this->_table_names['page_tbl'];
- $sth = $dbh->query("UPDATE $page_tbl"
+ $dbh->query("UPDATE $page_tbl"
 . " SET cached_html=?"
 . " WHERE pagename=?",
@@ -662,4 +662,5 @@ extends WikiDB_backend
 /**
 * Title search.
+ * Todo: exclude
 */
 function text_search($search, $fulltext=false, $sortby=false, $limit=false, 
@@ -1147,4 +1148,5 @@ extends WikiDB_backend
 // TODO: try ADODB version?
 trigger_error("Unsupported dbtype and backend. Either switch to ADODB or check it manually.");
+ return false;
 }
 }
@@ -1183,5 +1185,4 @@ extends WikiDB_backend_iterator
 
 function next() {
- $backend = &$this->_backend;
 if (!$this->_result)
 return false;
@@ -1239,4 +1240,7 @@ class WikiDB_backend_PearDB_search exten
 
 // $Log$
+// Revision 1.99 2006年10月08日 12:40:51 rurban
+// minor cleanup: remove unused vars
+//
 // Revision 1.98 2006年06月03日 08:50:41 rurban
 // revert wrong pear DB nextID() usage, our old is easier
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /