summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Andrews2014-12-08 13:11:35 (GMT)
committerJeremy Andrews2014-12-08 13:11:35 (GMT)
commit9e48e382a144afa498ba7b64c0670a44bee7c32a (patch)
tree60724a29ace8553e150e9b6aee31e83d32ede22a
parent2245e778ecd0b98155e2cb0a5be28ec1a02088a4 (diff)
Issue #2387793 by Jeremy, eugene.ilyin: Notice in install profile
-rw-r--r--memcache.install3
1 files changed, 3 insertions, 0 deletions
diff --git a/memcache.install b/memcache.install
index ca8abd9..104595f 100644
--- a/memcache.install
+++ b/memcache.install
@@ -69,6 +69,9 @@ function memcache_requirements($phase) {
$requirements['memcache_extension']['severity'] = REQUIREMENT_ERROR;
$requirements['memcache_extension']['value'] = $t('Required PHP extension not found. Install the <a href="http://php.net/manual/en/book.memcache.php">memcache</a> (recommended) or <a href="http://php.net/manual/en/book.memcached.php">memcached</a> extension.');
}
+ else {
+ $requirements['memcache_extension']['value'] = $t('PHP %extension Extension', array('%extension' => $memcache ? $t('Memcache') : $t('Memcached')));
+ }
}
if ($phase == 'runtime') {
$errors = array();