Esempio n. 1
0
 public static function tearDownAfterClass()
 {
     self::$prefs = null;
     if (self::$migrator) {
         self::$migrator->down();
         self::$migrator = null;
     }
     if (self::$db) {
         self::$db->disconnect();
         self::$db = null;
     }
 }
Esempio n. 2
0
File: Base.php Progetto: horde/horde
 public static function tearDownAfterClass()
 {
     self::$prefs = null;
     if (self::$db) {
         self::$db->delete('DELETE FROM horde_prefs');
     }
     if (self::$migrator) {
         self::$migrator->down();
         self::$migrator = null;
     }
     if (self::$db) {
         self::$db->disconnect();
         self::$db = null;
     }
 }