aboutsummaryrefslogtreecommitdiffstats
path: root/includes/MessageCache.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/MessageCache.php')
-rwxr-xr-xincludes/MessageCache.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/MessageCache.php b/includes/MessageCache.php
index 2a31c0d92e00..eb56bf1b9c9f 100755
--- a/includes/MessageCache.php
+++ b/includes/MessageCache.php
@@ -74,7 +74,7 @@ class MessageCache
wfDebug( "MessageCache::load(): loading all messages\n" );
$this->lock();
# Other threads don't need to load the messages if another thread is doing it.
- $success = $this->mMemc->set( $this->mMemcKey, "loading", MSG_LOAD_TIMEOUT );
+ $success = $this->mMemc->add( $this->mMemcKey, "loading", MSG_LOAD_TIMEOUT );
if ( $success ) {
wfProfileIn( $fname.'-load' );
$this->loadFromDB();