summaryrefslogtreecommitdiff
path: root/modules/system/system.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2004-01-19 22:11:46 +0000
committerDries Buytaert <dries@buytaert.net>2004-01-19 22:11:46 +0000
commit652fb3474adb707dff2e5f7899c5911b1c4ef85f (patch)
tree375e087f8b2a298abfff13f18ad9a881d6b15561 /modules/system/system.module
parent3714827685aa14ba51fdbcc431fa421b27abd314 (diff)
downloadbrdo-652fb3474adb707dff2e5f7899c5911b1c4ef85f.tar.gz
brdo-652fb3474adb707dff2e5f7899c5911b1c4ef85f.tar.bz2
- Removed instances of the 'throttle_enable' variable.
Diffstat (limited to 'modules/system/system.module')
-rw-r--r--modules/system/system.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/system/system.module b/modules/system/system.module
index a8325329d..a7d173453 100644
--- a/modules/system/system.module
+++ b/modules/system/system.module
@@ -289,7 +289,7 @@ function system_listing($type) {
$row = array($info->name, $info->description, array("data" => (in_array($filename, $required) ? form_hidden("status][$filename", 1) . t("required") : form_checkbox("", "status][$filename", 1, $file->status)), "align" => "center"));
if ($type == "module") {
- $row[] = array("data" => (in_array($filename, $throttle_required) ? form_hidden("throttle][$filename", 0) . t("required") : form_checkbox(NULL, "throttle][$filename", 1, $file->throttle, NULL, variable_get("throttle_enable", 0) ? NULL : array("disabled" => "disabled"))), "align" => "center");
+ $row[] = array("data" => (in_array($filename, $throttle_required) ? form_hidden("throttle][$filename", 0) . t("required") : form_checkbox(NULL, "throttle][$filename", 1, $file->throttle, NULL, module_exist('throttle') ? NULL : array("disabled" => "disabled"))), "align" => "center");
}
else if ($type == "theme") {
$row[] = array("data" => form_radio("", "theme_default", $info->name, (variable_get("theme_default",0) == $info->name) ? 1 : 0), "align" => "center");