Code

Fixed class_plugin.inc -> get_cfg_value call
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 24 Jul 2008 12:48:45 +0000 (12:48 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 24 Jul 2008 12:48:45 +0000 (12:48 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12022 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/class_plugin.inc

index abafba973ea145267e9756579d029c9781318dc2..b5952180d6d8fbf0d3555aee3b7d47182a55467a 100644 (file)
@@ -1305,7 +1305,7 @@ class plugin
      There will also be some errors psoted, if the configuration failed */
   function snapshotEnabled()
   {
-    $config = $this->config->current;
+    $config = $this->config;
     if($config->get_cfg_value("enable_snapshot") == "true"){
            /* Check if the snapshot_base is defined */
            if ($config->get_cfg_value("snapshot_base") == ""){