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:
Tim Almdal
2009-10-27 07:57:51 -07:00
parent 0c6840dea2
commit 514915438b
2 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -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