Code

Updated patch
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 23 Feb 2009 06:58:28 +0000 (06:58 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 23 Feb 2009 06:58:28 +0000 (06:58 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13438 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/redhat/02_fix_class_mapping.patch

index 432dcf020da66ce8e5ead12769265bfe99819fee..95b8ea858d14b5679cee4a2c3b76196a397976a2 100644 (file)
          if we have installed or removed plugins. 
       */
      if(session::global_is_set("class_location.inc:timestamp")){
--      $tmp = $tmp = stat("/var/cache/gosa/class.cache");
-+      $tmp = stat("../include/class_location.inc");
+-      $tmp = stat("../include/class_location.inc");
++      $tmp = $tmp = stat("/var/cache/gosa/class.cache");
        if($tmp['mtime'] != session::global_get("class_location.inc:timestamp")){
          session::global_un_set("plist");
        }
      }
--    $tmp = stat("/var/cache/gosa/class.cache");
-+    $tmp = stat("../include/class_location.inc");
+-    $tmp = stat("../include/class_location.inc");
++    $tmp = stat("/var/cache/gosa/class.cache");
      session::global_set("class_location.inc:timestamp",$tmp['mtime']);
  
      if($this->filename != "" && filemtime($this->filename) != $this->last_modified){