forked from GNUsocial/gnu-social
Strict Standards: Declaration of MysqlSchema::get()
should be compatible with Schema::get($conn = NULL)
This commit is contained in:
parent
a6898b033d
commit
6b31feb70f
@ -58,10 +58,10 @@ class MysqlSchema extends Schema
|
|||||||
* @return Schema the (single) Schema object
|
* @return Schema the (single) Schema object
|
||||||
*/
|
*/
|
||||||
|
|
||||||
static function get()
|
static function get($conn = null)
|
||||||
{
|
{
|
||||||
if (empty(self::$_single)) {
|
if (empty(self::$_single)) {
|
||||||
self::$_single = new Schema();
|
self::$_single = new Schema($conn);
|
||||||
}
|
}
|
||||||
return self::$_single;
|
return self::$_single;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user