diff options
author | Domas Mituzas <midom@users.mediawiki.org> | 2004-10-11 04:13:43 +0000 |
---|---|---|
committer | Domas Mituzas <midom@users.mediawiki.org> | 2004-10-11 04:13:43 +0000 |
commit | d5bab421f4ab1b83142d9a655072caab411802bd (patch) | |
tree | 60a9a7ea4550169f2ad3e5a06d9bc5a187b8c462 /includes/MessageCache.php | |
parent | e946bf96411293f53a08df8eb61af0f488025801 (diff) | |
download | mediawikicore-d5bab421f4ab1b83142d9a655072caab411802bd.tar.gz mediawikicore-d5bab421f4ab1b83142d9a655072caab411802bd.zip |
fix from live site, set->add for "loading".
Notes
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/5809
Diffstat (limited to 'includes/MessageCache.php')
-rwxr-xr-x | includes/MessageCache.php | 2 |
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(); |