do not provide backup tools if backup dir is not set

This commit is contained in:
Uwe Steinmann 2019-07-30 07:08:10 +02:00
parent ce420a78eb
commit 5997717099

View File

@ -74,6 +74,7 @@ class SeedDMS_View_BackupTools extends SeedDMS_Bootstrap_Style {
// archive creation ////////////////////////////////////////////////////////////
if($this->params['hasbackupdir']) {
$this->contentHeading(getMLText("archive_creation"));
print "<p>".getMLText("archive_creation_warning")."</p>\n";
$this->contentContainerStart();
@ -178,6 +179,9 @@ class SeedDMS_View_BackupTools extends SeedDMS_Bootstrap_Style {
}
$this->contentContainerEnd();
} else {
$this->warningMsg(getMLText('no_backup_dir'));
}
// files deletion //////////////////////////////////////////////////////////////
/*