Remove DB_reg destruct method
This commit is contained in:
parent
c4a67e3a1b
commit
181eab239f
@ -54,16 +54,6 @@ class DB_Reg {
|
|||||||
// Set the current key in the registry
|
// Set the current key in the registry
|
||||||
self::$instance[$key] = new Query_Builder($db_params);
|
self::$instance[$key] = new Query_Builder($db_params);
|
||||||
}
|
}
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Cleanup method
|
|
||||||
*/
|
|
||||||
public function __destruct()
|
|
||||||
{
|
|
||||||
self::$instance = NULL;
|
|
||||||
}
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
// --------------------------------------------------------------------------
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user