HomePhabricator

Don't conditionally register hooks

Authored by Legoktm.

Description

Don't conditionally register hooks

ExtensionFunctions are called whenever MediaWiki is initialized, but
the hooks will only be called whenever neccessary, so move the
conditionals (whether CentralAuth exists) into the hook function
itself.

Change-Id: Id61b9f57a71a4a7c7d06d6967826eaafabd31b40

Details

Committed
LegoktmDec 15 2014, 5:51 PM
Parents
rEGST3fa50d05a463: Localisation updates from https://translatewiki.net.
Branches
Unknown
Tags
Unknown
ChangeId
Id61b9f57a71a4a7c7d06d6967826eaafabd31b40