Skip to content

Commit 04eafed

Browse files
author
Florian Schaal
committed
fixed remove of inactive web backups
1 parent e791e76 commit 04eafed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/lib/classes/cron.d/500-backup.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public function onRunJob() {
7272
chmod(escapeshellcmd($backup_dir), $backup_dir_permissions);
7373
}
7474

75-
$sql = "SELECT * FROM web_domain WHERE server_id = '".$conf['server_id']."' AND (type = 'vhost' OR type = 'vhostsubdomain') AND backup_interval != 'none'";
75+
$sql = "SELECT * FROM web_domain WHERE server_id = '".$conf['server_id']."' AND (type = 'vhost' OR type = 'vhostsubdomain')";
7676
$records = $app->db->queryAllRecords($sql);
7777
if(is_array($records)) {
7878
foreach($records as $rec) {

0 commit comments

Comments
 (0)