DB_DataObject v1.11.4 made some functions static (finally!)

This commit is contained in:
Mikael Nordfeldth 2015-06-06 19:30:53 +02:00
parent 4cba7a4002
commit 9e52b6f2d1

View File

@ -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();