mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-12 00:59:46 +00:00
Disable default search module
'
This commit is contained in:
parent
645c72f658
commit
bef0d67e6c
|
@ -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
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue