removing redundant constructor
This commit is contained in:
parent
fb2e00eacc
commit
c2a26ba653
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user