From c2a26ba65339f7731e5e1f019704ee70c3943e94 Mon Sep 17 00:00:00 2001 From: James Walker Date: Thu, 29 Jul 2010 21:03:48 -0400 Subject: [PATCH] removing redundant constructor --- lib/mysqlschema.php | 15 --------------- 1 file changed, 15 deletions(-) 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