Domas Mituzas schreef:
Shouldn't the check go *after* the hook execution?
whole point would be missing ;-) if anyone wants to override userCanRead() for public wikis, they should set it to false!
Hooks may want to override userCanRead() there. You don't know how crazy extensions are or will be in the future.
Roan Kattouw (Catrope)