Browse files

Updated the memcache handler to call isAvailable() on the sub handlers.

  • Loading branch information...
1 parent d1aeb1f commit b8c89f9393ff6a69fdfc07737bc17645ac6a9326 @jhallbachner jhallbachner committed Apr 23, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Stash/Handler/Memcache.php
View
2 src/Stash/Handler/Memcache.php
@@ -171,6 +171,6 @@ protected function makeKeyString($key, $path = false)
static public function isAvailable()
{
- return (class_exists('Memcache', false) || class_exists('Memcached', false));
+ return (SubMemcache::isAvailable() || SubMemcached::isAvailable());
}
}

0 comments on commit b8c89f9

Please sign in to comment.