From 0966510b9b7f8e52e2a92b1a840b4dd7c3edb030 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 9 Nov 2009 09:31:06 +0000 Subject: [PATCH] Updated snapshot handling in class management. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14795 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_management.inc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gosa-core/include/class_management.inc b/gosa-core/include/class_management.inc index dcf8c1658..324da97b0 100644 --- a/gosa-core/include/class_management.inc +++ b/gosa-core/include/class_management.inc @@ -164,6 +164,10 @@ class management foreach($this->storagePoints as $sp){ $bases[] = $sp.$this->headpage->getBase(); } + + // No bases specified? Try base + if(!count($bases)) $bases[] = $this->headpage->getBase(); + $this->snapHandler->setSnapshotBases($bases); } @@ -474,6 +478,9 @@ class management } } + // No bases specified? Try base + if(!count($bases)) $bases[] = $this->headpage->getBase(); + // No target, open the restore removed object dialog. if(!count($target)){ $entry = $this->headpage->getBase(); -- 2.30.2