]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
removing redundant constructor
authorJames Walker <walkah@walkah.net>
Fri, 30 Jul 2010 01:03:48 +0000 (21:03 -0400)
committerJames Walker <walkah@walkah.net>
Fri, 30 Jul 2010 01:03:48 +0000 (21:03 -0400)
lib/mysqlschema.php

index 4556953667d83c0586e1c2b34ce4f34c60dd605f..464c718f99754da08809b9f356d1f29c37a57f93 100644 (file)
@@ -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