public static function commit() { $args = func_get_args(); return call_user_func_array(array(DB::getMDB(), 'commit'), $args); }
/** * Setup global $DB as original DB object again. */ function tearDown() { $this->test_DB->commit(); if ($this->test_DB->error) { $this->fail('There has been a DB error.'); } $this->dropTestDbTables(); $GLOBALS['DB'] =& $this->old_DB; parent::tearDown(); }