Disable default search module

'
This commit is contained in:
alistair3149 2019-12-30 17:41:33 -05:00
parent 645c72f658
commit bef0d67e6c
No known key found for this signature in database
GPG key ID: 94D081060FD3DD9C

View file

@ -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
*/