new applications class - not used

This commit is contained in:
skeeter 2001-01-19 04:20:37 +00:00
parent fb4c04b950
commit e42fcb0ad8

View File

@ -153,6 +153,16 @@
} }
} }
function is_system_enabled($appname)
{
return $this->get_var("enabled",$appname) >= 1;
}
function is_user_enabled($appname)
{
return $this->get_var("enabled",$appname) == 2;
}
function group_app_string($group_id) function group_app_string($group_id)
{ {
return ":".implode(":",$this->get_var("group_apps",$group_id)).":"; return ":".implode(":",$this->get_var("group_apps",$group_id)).":";