Skip to content

Commit

Permalink
Need to check for mongo ext here too.
Browse files Browse the repository at this point in the history
  • Loading branch information
yunosh committed Jan 30, 2015
1 parent 72ce9aa commit e8ca478
Showing 1 changed file with 6 additions and 4 deletions.
Expand Up @@ -204,10 +204,12 @@ public function testPartialSyncWithOnlyChangedHbInterval()

public static function tearDownAfterClass()
{
try {
$mongo = new Horde_Mongo_Client();
$mongo->activesync_test->drop();
} catch (MongoConnectionException $e) {
if (class_exists('MongoDB')) {
try {
$mongo = new Horde_Mongo_Client();
$mongo->activesync_test->drop();
} catch (MongoConnectionException $e) {
}
}
parent::tearDownAfterClass();
}
Expand Down

0 comments on commit e8ca478

Please sign in to comment.