We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 288bc41 commit 465b91dCopy full SHA for 465b91d
src/phpFastCache/Drivers/Mongodb/Driver.php
@@ -54,12 +54,7 @@ public function __construct(array $config = [])
54
*/
55
public function driverCheck()
56
{
57
- if(class_exists('MongoDB\Driver\Manager')){
58
- trigger_error('PhpFastCache currently only support the pecl Mongo extension.<br />
59
- The Support for the MongoDB extension will be added coming soon.', E_USER_ERROR);
60
- }
61
-
62
- return extension_loaded('Mongodb') && class_exists('MongoClient');
+ return class_exists('MongoClient');
63
}
64
65
/**
0 commit comments