SF.net SVN: phpwiki:[11038] trunk
vargenau--- via phpwiki-checkins <[email protected]> Fri, 31 Mar 2023 15:18:32 +0000
| Newsgroups | gmane.comp.web.wiki.phpwiki.checkins |
|---|---|
| Message-ID | <[email protected]> |
Revision: 11038
http://sourceforge.net/p/phpwiki/code/11038
Author: vargenau
Date: 2023-03-31 15:18:31 +0000 (Fri, 31 Mar 2023)
Log Message:
-----------
Remove references to PHP5
Modified Paths:
--------------
trunk/config/config-dist.ini
trunk/lib/WikiDB/backend/PearDB_mysqli.php
trunk/lib/WikiUser/PdoDb.php
Modified: trunk/config/config-dist.ini
===================================================================
--- trunk/config/config-dist.ini 2023-03-28 14:53:38 UTC (rev 11037)
+++ trunk/config/config-dist.ini 2023-03-31 15:18:31 UTC (rev 11038)
@@ -419,7 +419,7 @@
; Select the database backend type:
;
; SQL: access one of several SQL databases using the PEAR DB library.
-; PDO: The new PHP5 library.
+; PDO: The PHP Data Objects library.
; dba: use one of the standard UNIX dbm libraries. Use BerkeleyDB (db3,4) (fastest)
; file: use a serialized file database. (easiest)
; flatfile: use a flat file database. (experimental, readable, slow)
Modified: trunk/lib/WikiDB/backend/PearDB_mysqli.php
===================================================================
--- trunk/lib/WikiDB/backend/PearDB_mysqli.php 2023-03-28 14:53:38 UTC (rev 11037)
+++ trunk/lib/WikiDB/backend/PearDB_mysqli.php 2023-03-31 15:18:31 UTC (rev 11038)
@@ -82,7 +82,7 @@
$dbh->escapeSimple($content),
$dbh->escapeSimple($this->_serialize($data))
));
- // real binding (prepare,execute) only since mysqli + PHP5
+ // real binding (prepare,execute)
$this->_update_recent_table($id);
$this->_update_nonempty_table($id);
$this->unlock();
Modified: trunk/lib/WikiUser/PdoDb.php
===================================================================
--- trunk/lib/WikiUser/PdoDb.php 2023-03-28 14:53:38 UTC (rev 11037)
+++ trunk/lib/WikiUser/PdoDb.php 2023-03-31 15:18:31 UTC (rev 11038)
@@ -26,7 +26,7 @@
class _PdoDbPassUser extends _DbPassUser
/**
- * PDO DB methods (PHP5)
+ * PDO DB methods
* prepare, bind, execute.
* We use numerical FETCH_MODE_ROW, so we don't need aliases in the auth_* SQL statements.
*
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.