MDL-45412 Cache: Look for the newer classname first (mongo store)
This commit is contained in:
Vendored
+1
-1
@@ -166,7 +166,7 @@ class cachestore_mongodb extends cache_store implements cache_is_configurable {
|
||||
* @return bool
|
||||
*/
|
||||
public static function are_requirements_met() {
|
||||
return class_exists('Mongo');
|
||||
return class_exists('MongoClient') || class_exists('Mongo');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user