From: Mikael Nordfeldth Date: Sat, 6 Jun 2015 17:30:53 +0000 (+0200) Subject: DB_DataObject v1.11.4 made some functions static (finally!) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=9e52b6f2d1b2c0a25ef3014a80a9224b707da46c;p=quix0rs-gnu-social.git DB_DataObject v1.11.4 made some functions static (finally!) --- diff --git a/classes/GS_DataObject.php b/classes/GS_DataObject.php index 67f3240493..6d4873639e 100644 --- a/classes/GS_DataObject.php +++ b/classes/GS_DataObject.php @@ -59,7 +59,7 @@ class GS_DataObject extends DB_DataObject return $res; } - public function debugLevel($v = null) + static public function debugLevel($v = null) { // avoid those annoying PEAR::DB strict standards warnings it causes $old = error_reporting(); @@ -72,7 +72,7 @@ class GS_DataObject extends DB_DataObject return $res; } - public function factory($table = '') + static public function factory($table = '') { // avoid those annoying PEAR::DB strict standards warnings it causes $old = error_reporting(); @@ -164,7 +164,7 @@ class GS_DataObject extends DB_DataObject return $res; } - public function staticGet($class, $k, $v = null) + static public function staticGet($class, $k, $v = null) { // avoid those annoying PEAR::DB strict standards warnings it causes $old = error_reporting();