We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4577f2 commit 7508317Copy full SHA for 7508317
src/Repository/WikiRepository.php
@@ -95,8 +95,8 @@ public function getEditCounts( array $usernames ): array {
95
*/
96
public function isUserBlocked( string $username ): bool {
97
$sql = "SELECT 1
98
- FROM {$this->getDb()}.ipblocks_ipindex
99
- WHERE ipb_address = :username
+ FROM {$this->getDb()}.block_target_ipindex
+ WHERE bt_user_text = :username
100
LIMIT 1";
101
102
return (bool)$this->executeQuery( $sql, [ 'username' => $username ] )
0 commit comments