diff options
Diffstat (limited to 'includes/debug/MWDebug.php')
-rw-r--r-- | includes/debug/MWDebug.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/includes/debug/MWDebug.php b/includes/debug/MWDebug.php index 13d25a86b426..d90ef8a7d18c 100644 --- a/includes/debug/MWDebug.php +++ b/includes/debug/MWDebug.php @@ -76,6 +76,15 @@ class MWDebug { } /** + * Disable the debugger. + * + * @since 1.28 + */ + public static function deinit() { + self::$enabled = false; + } + + /** * Add ResourceLoader modules to the OutputPage object if debugging is * enabled. * |