From: Domas Mituzas Date: Mon, 11 Oct 2004 04:13:43 +0000 (+0000) Subject: fix from live site, set->add for "loading". X-Git-Tag: 1.5.0alpha1~1600 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/?a=commitdiff_plain;h=d5bab421f4ab1b83142d9a655072caab411802bd;p=lhc%2Fweb%2Fwiklou.git fix from live site, set->add for "loading". --- diff --git a/includes/MessageCache.php b/includes/MessageCache.php index 2a31c0d92e..eb56bf1b9c 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();