summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c0b74d0)
raw | patch | inline | side by side (parent: c0b74d0)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 8 Jul 2008 13:11:44 +0000 (13:11 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 8 Jul 2008 13:11:44 +0000 (13:11 +0000) |
-Now it works as expeted.
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11560 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11560 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_config.inc | patch | blob | history |
index b9d34dc6f47d4e5ffbf99a7e46df8658c3854875..c5d0da140ba65cb384fed5d22c9ab91c97ecbbe8 100644 (file)
function check_and_reload()
{
+ global $ui;
/* Check if class_location.inc has changed, this is the case
if we have installed or removed plugins.
if(session::is_set("class_location.inc:timestamp")){
$tmp = stat("../include/class_location.inc");
if($tmp['mtime'] != session::get("class_location.inc:timestamp")){
-
- /* Refresh users ACLs */
- $ui= get_userinfo();
- $ui->loadACL();
- session::set('ui',$ui);
-
- /* Reset menu and iconmenu */
- if(session::is_set("plist")){
- $plist = session::get("plist");
- $plist->reset_menus();
- session::set("plist",$plist);
- }
+ session::un_set("plist");
}
}
$tmp = stat("../include/class_location.inc");