mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-08-20 05:45:11 -04:00
Add a flag in the module.info (no_module_admin) to indicate that this module shouldn't be managed by the default module administration screen. This module will always be locked on that screen.
This commit is contained in:
@@ -98,7 +98,7 @@ class module_Core {
|
||||
$m->active = self::is_active($module_name);
|
||||
$m->code_version = $m->version;
|
||||
$m->version = self::get_version($module_name);
|
||||
$m->locked = false;
|
||||
$m->locked = !empty($m->no_module_admin);
|
||||
}
|
||||
|
||||
// Lock certain modules
|
||||
|
||||
Reference in New Issue
Block a user