http://www.mediawiki.org/wiki/Special:Code/MediaWiki/70577
Revision: 70577 Author: catrope Date: 2010-08-06 16:02:42 +0000 (Fri, 06 Aug 2010) Log Message: ----------- wfForeignMemcKey() just exists, we don't have to keep around crazy back compat for that Modified Paths: -------------- trunk/phase3/includes/UserRightsProxy.php Modified: trunk/phase3/includes/UserRightsProxy.php =================================================================== --- trunk/phase3/includes/UserRightsProxy.php 2010-08-06 16:01:10 UTC (rev 70576) +++ trunk/phase3/includes/UserRightsProxy.php 2010-08-06 16:02:42 UTC (rev 70577) @@ -193,11 +193,7 @@ __METHOD__ ); global $wgMemc; - if ( function_exists( 'wfForeignMemcKey' ) ) { - $key = wfForeignMemcKey( $this->database, false, 'user', 'id', $this->id ); - } else { - $key = "$this->database:user:id:" . $this->id; - } + $key = wfForeignMemcKey( $this->database, false, 'user', 'id', $this->id ); $wgMemc->delete( $key ); } } _______________________________________________ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs