mediawiki-extensions-Cite/includes
Thiemo Kreuz 8a42f61697 Remove all default "return true" from all hook handlers
This is the default for many years now. Returning true does nothing. It's
identical to returning nothing (null). The only meaningful value a hook
handler can return is false, and even this is meaningful only for very
few hooks.

TL;DR: A "return true" in a hook handler is always meaningless, dead code.

I'm interested in this because we (WMDE) might start working on this
extension soon and I want the code to be small and easy to maintain.

Change-Id: If4f32a55cdc38a3cc8af286d1cca7c0089bbfc43
2018-05-15 10:43:23 +02:00
..
ApiQueryReferences.php Add phan configuration for static analysis 2017-12-29 11:50:01 -08:00
Cite.php Remove all default "return true" from all hook handlers 2018-05-15 10:43:23 +02:00
CiteCSSFileModule.php Use standard form for @license tags 2018-03-20 03:18:37 +00:00
CiteDataModule.php CiteDataModule: Remove origin restriction 2018-04-30 22:18:06 +02:00
CiteHooks.php Remove all default "return true" from all hook handlers 2018-05-15 10:43:23 +02:00