aboutsummaryrefslogtreecommitdiff
path: root/engine/classes/ElggMemcache.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/classes/ElggMemcache.php')
-rw-r--r--engine/classes/ElggMemcache.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/classes/ElggMemcache.php b/engine/classes/ElggMemcache.php
index e0d8e7bee..7d19fb2c7 100644
--- a/engine/classes/ElggMemcache.php
+++ b/engine/classes/ElggMemcache.php
@@ -85,10 +85,10 @@ class ElggMemcache extends ElggSharedMemoryCache {
// Get version
$this->version = $this->memcache->getVersion();
if (version_compare($this->version, ElggMemcache::$MINSERVERVERSION, '<')) {
- $msg = sprintf(elgg_echo('memcache:versiontoolow'),
- ElggMemcache::$MINSERVERVERSION,
+ $msg = elgg_echo('memcache:versiontoolow',
+ array(ElggMemcache::$MINSERVERVERSION,
$this->version
- );
+ ));
throw new ConfigurationException($msg);
}