Code

Updated snapshot availability detection.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 9 Oct 2008 11:48:34 +0000 (11:48 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 9 Oct 2008 11:48:34 +0000 (11:48 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12658 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/class_plugin.inc

index 38156dd54081c46b09cf1c2a39552af6def58bce..5c9dadf3703f26b2f566c0607aacc6e592ab856b 100644 (file)
@@ -1317,7 +1317,7 @@ class plugin
   function snapshotEnabled()
   {
     $config = $this->config;
-    if($config->get_cfg_value("snapshots") == "true"){
+    if($config->get_cfg_value("enableSnapshots") == "true"){
            /* Check if the snapshot_base is defined */
            if ($config->get_cfg_value("snapshotBase") == ""){
                    msg_dialog::display(_("Configuration error"), sprintf(_("The snapshot functionality is enabled, but the required variable '%s' is not set."),"snapshotBase"), ERROR_DIALOG);