diff --git a/includes/SkinCitizen.php b/includes/SkinCitizen.php index e978dfaf..adc7afa8 100644 --- a/includes/SkinCitizen.php +++ b/includes/SkinCitizen.php @@ -195,6 +195,20 @@ class SkinCitizen extends SkinTemplate { } } + /** + * 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(); + + // disable default skin search modules + $modules['search'] = []; + + return $modules; + } + /** * Adds all needed skin modules */