diff --git a/includes/SkinCitizen.php b/includes/SkinCitizen.php index 7731ad76..7aa94ffe 100644 --- a/includes/SkinCitizen.php +++ b/includes/SkinCitizen.php @@ -297,22 +297,6 @@ class SkinCitizen extends SkinMustache { return $urls; } - /** - * Returns the javascript entry modules to load. Only modules that need to - * be overriden or added conditionally should be placed here. - * @return array - */ - public function getDefaultModules() { - $modules = parent::getDefaultModules(); - - $modules['content'] = array_diff( $modules['content'], [ - // Citizen provides its own implementation. Loading this will break display. - 'mediawiki.toc' - ] ); - - return $modules; - } - /** * Set up optional skin features *