From: hickert Date: Wed, 7 Oct 2009 12:32:36 +0000 (+0000) Subject: We've only two cases X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=df92a2782c461e00652cedaf053b236ba3649447;p=gosa.git We've only two cases - Snapshot enabled -> We require all variables to be set - Snapshot disabled-> Insert empty dummy value git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14557 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/contrib/gosa.conf b/gosa-core/contrib/gosa.conf index 7e894e256..663b8f887 100644 --- a/gosa-core/contrib/gosa.conf +++ b/gosa-core/contrib/gosa.conf @@ -565,18 +565,16 @@ {/if} {if $cv.generic_settings.snapshot_active} enableSnapshots="true" -{if $cv.generic_settings.snapshot_base != ""} snapshotBase="{$cv.generic_settings.snapshot_base}" -{/if} -{if $cv.generic_settings.snapshot_user != ""} snapshotAdminDn="{$cv.generic_settings.snapshot_user}" -{/if} -{if $cv.generic_settings.snapshot_password != ""} snapshotAdminPassword="{$cv.generic_settings.snapshot_password}" -{/if} -{if $cv.generic_settings.snapshot_server != ""} snapshotURI="{$cv.generic_settings.snapshot_server}" -{/if} +{else} + enableSnapshots="false" + snapshotBase="" + snapshotAdminDn="" + snapshotAdminPassword="" + snapshotURI="" {/if} config="ou=gosa,ou=configs,ou=systems,{$cv.base}">