Index: trunk/extensions/regexBlock/regexBlockCore.php |
— | — | @@ -20,7 +20,7 @@ |
21 | 21 | function wfRegexBlockCheck ($current_user) { |
22 | 22 | global $wgMemc, $wgSharedDB; |
23 | 23 | if (!wfSimplifiedRegexCheckSharedDB()) |
24 | | - return; |
| 24 | + return true; |
25 | 25 | $ip_to_check = wfGetIP(); |
26 | 26 | $key = "$wgSharedDB:regexBlockCore:blockers"; |
27 | 27 | $cached = $wgMemc->get($key); |
— | — | @@ -231,4 +231,4 @@ |
232 | 232 | wfRegexBlockUpdateStats ($username, $user_ip, $blocker); |
233 | 233 | } |
234 | 234 | } |
235 | | -} |
\ No newline at end of file |
| 235 | +} |