X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fmysqlschema.php;h=464c718f99754da08809b9f356d1f29c37a57f93;hb=47f19988d1b0e4f64fde8a385d3205c2fd476234;hp=4556953667d83c0586e1c2b34ce4f34c60dd605f;hpb=9e9ab23e1f936eb62014d8f7b0051f0314ae482c;p=quix0rs-gnu-social.git diff --git a/lib/mysqlschema.php b/lib/mysqlschema.php index 4556953667..464c718f99 100644 --- a/lib/mysqlschema.php +++ b/lib/mysqlschema.php @@ -50,21 +50,6 @@ class MysqlSchema extends Schema static $_single = null; protected $conn = null; - /** - * Constructor. Only run once for singleton object. - */ - - protected function __construct() - { - // XXX: there should be an easier way to do this. - $user = new User(); - - $this->conn = $user->getDatabaseConnection(); - - $user->free(); - - unset($user); - } /** * Main public entry point. Use this to get