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; } }
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; } }