Index: trunk/phase3/includes/UserRightsProxy.php |
— | — | @@ -193,11 +193,7 @@ |
194 | 194 | __METHOD__ ); |
195 | 195 | |
196 | 196 | global $wgMemc; |
197 | | - if ( function_exists( 'wfForeignMemcKey' ) ) { |
198 | | - $key = wfForeignMemcKey( $this->database, false, 'user', 'id', $this->id ); |
199 | | - } else { |
200 | | - $key = "$this->database:user:id:" . $this->id; |
201 | | - } |
| 197 | + $key = wfForeignMemcKey( $this->database, false, 'user', 'id', $this->id ); |
202 | 198 | $wgMemc->delete( $key ); |
203 | 199 | } |
204 | 200 | } |