|
From: <var...@us...> - 2021-06-28 07:37:39
|
Revision: 10327
http://sourceforge.net/p/phpwiki/code/10327
Author: vargenau
Date: 2021-06-28 07:37:34 +0000 (Mon, 28 Jun 2021)
Log Message:
-----------
PEAR: use __construct for File_Passwd and Services_JSON
Modified Paths:
--------------
trunk/lib/pear/File_Passwd.php
trunk/lib/pear/JSON.php
Modified: trunk/lib/pear/File_Passwd.php
===================================================================
--- trunk/lib/pear/File_Passwd.php 2021-06-24 19:27:56 UTC (rev 10326)
+++ trunk/lib/pear/File_Passwd.php 2021-06-28 07:37:34 UTC (rev 10327)
@@ -80,7 +80,7 @@
* @see close()
*/
- function File_Passwd($file, $lock = 0, $lockfile = "") {
+ function __construct($file, $lock = 0, $lockfile = "") {
$this->filename = $file;
if( !empty( $lockfile) ) {
$this->lockfile = $lockfile;
Modified: trunk/lib/pear/JSON.php
===================================================================
--- trunk/lib/pear/JSON.php 2021-06-24 19:27:56 UTC (rev 10326)
+++ trunk/lib/pear/JSON.php 2021-06-28 07:37:34 UTC (rev 10327)
@@ -139,7 +139,7 @@
* strings or numbers, if you return an object, make sure it does
* not have a toJSON method, otherwise an error will occur.
*/
- function Services_JSON($use = 0)
+ function __construct($use = 0)
{
$this->use = $use;
$this->_mb_strlen = function_exists('mb_strlen');
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|