This will overwrite all other UserIsBlockedFrom hook calls which could stop other calls to it from working elsewhere in the code. It should instead append to the array:
```$wgHooks['UserIsBlockedFrom'][] = 'WallHooksHelper::onUserIsBlockedFrom';```