summaryrefslogtreecommitdiff
path: root/lib/mysqlschema.php
diff options
context:
space:
mode:
authorJames Walker <walkah@walkah.net>2010-07-29 21:03:48 -0400
committerJames Walker <walkah@walkah.net>2010-07-29 21:03:48 -0400
commitc2a26ba65339f7731e5e1f019704ee70c3943e94 (patch)
tree868cc49fb2e48b2b2961ac39229a03d236552afa /lib/mysqlschema.php
parentfb2e00eacc7090df0d05311e39f08cb72164a78c (diff)
removing redundant constructor
Diffstat (limited to 'lib/mysqlschema.php')
-rw-r--r--lib/mysqlschema.php15
1 files changed, 0 insertions, 15 deletions
diff --git a/lib/mysqlschema.php b/lib/mysqlschema.php
index 455695366..464c718f9 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