Since the introduction of the new hooks stystem, it is not possible to clear all hooks by setting $wgHooks. This would only clear old-style hooks. This is becoming increasingly problematic as the new hooks system is adopted by more and more extensions. Introduce a method that allows tests to reset many or all hooks. This isn't needed much in core, but extension tests need it. Change-Id: Ica3eb88fe23fe822d2aadb96ff5d15f80dce0d7b |
||
|---|---|---|
| .. | ||
| BlockLogFormatterTest.php | ||
| ContentModelLogFormatterTest.php | ||
| DatabaseLogEntryTest.php | ||
| DeleteLogFormatterTest.php | ||
| ImportLogFormatterTest.php | ||
| LogFormatterTest.php | ||
| LogFormatterTestCase.php | ||
| LogTests.i18n.php | ||
| MergeLogFormatterTest.php | ||
| MoveLogFormatterTest.php | ||
| NewUsersLogFormatterTest.php | ||
| PageLangLogFormatterTest.php | ||
| PatrolLogFormatterTest.php | ||
| ProtectLogFormatterTest.php | ||
| RightsLogFormatterTest.php | ||
| UploadLogFormatterTest.php | ||