Index: trunk/extensions/SpamRegex/SpecialSpamRegex.php |
— | — | @@ -176,7 +176,7 @@ |
177 | 177 | $key = wfSpamRegexCacheKey( 'spamRegexCore', 'numResults' ); |
178 | 178 | $cached = $wgMemc->get( $key ); |
179 | 179 | $results = 0; |
180 | | - if ( true || is_null( $cached ) ) { |
| 180 | + if ( is_null( $cached ) ) { |
181 | 181 | $dbr = wfGetDB( DB_SLAVE ); |
182 | 182 | $results = $dbr->selectField( 'spam_regex', 'COUNT(*)', '', __METHOD__ ); |
183 | 183 | $wgMemc->set( $key, $results, SPAMREGEX_EXPIRE ); |