summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8885165)
raw | patch | inline | side by side (parent: 8885165)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 8 Jul 2008 12:18:12 +0000 (12:18 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 8 Jul 2008 12:18:12 +0000 (12:18 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11558 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_pluglist.inc | patch | blob | history |
index 114ab5ddd21fe3cbf8b58558f1fcbee4e1c429ee..a1937cafdc41e092211ed03f75f197a42f020a49 100644 (file)
/* 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");
- session::set("class_location.inc:timestamp",$tmp['mtime']);
- }else{
+ if(session::is_set("class_location.inc:timestamp")){
$tmp = stat("../include/class_location.inc");
if($tmp['mtime'] != session::get("class_location.inc:timestamp")){
$this->menu = "";
}
}
+ $tmp = stat("../include/class_location.inc");
+ session::set("class_location.inc:timestamp",$tmp['mtime']);
if ($this->menu == ""){
$first= TRUE;
/* 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");
- session::set("class_location.inc:timestamp",$tmp['mtime']);
- }else{
+ if(session::is_set("class_location.inc:timestamp")){
$tmp = stat("../include/class_location.inc");
if($tmp['mtime'] != session::get("class_location.inc:timestamp")){
$this->iconmenu = "";
}
}
+ $tmp = stat("../include/class_location.inc");
+ session::set("class_location.inc:timestamp",$tmp['mtime']);
if ($this->iconmenu == ""){
$cfg= $this->config->data['MENU'];