Make runLegacyHooks work around bug in Hooks.
authordaniel <daniel.kinzler@wikimedia.de>
Fri, 5 Oct 2012 17:11:50 +0000 (19:11 +0200)
committerdaniel <daniel.kinzler@wikimedia.de>
Fri, 5 Oct 2012 17:11:50 +0000 (19:11 +0200)
commite6fb2cac0cc50e80ee16177db832926da5fdfcf6
tree6c349c85c7a492a1c7039633df96369f61df4849
parentc3a46a5d3635d4120835ef1c323fa42446ee50aa
Make runLegacyHooks work around bug in Hooks.

Hooks::isRegistered() doesn't consider hooks in $wgHooks.
Until that is fixed (see I39bd5de2), we need to check that explicitely.

Change-Id: I211c0c8bd0cd618151e56a11171ec8feef328d16
includes/content/ContentHandler.php