Skip to content
Snippets Groups Projects
Commit 04eafed0 authored by Florian Schaal's avatar Florian Schaal
Browse files

fixed remove of inactive web backups

parent e791e76c
No related branches found
No related tags found
No related merge requests found
......@@ -72,7 +72,7 @@ class cronjob_backup extends cronjob {
chmod(escapeshellcmd($backup_dir), $backup_dir_permissions);
}
$sql = "SELECT * FROM web_domain WHERE server_id = '".$conf['server_id']."' AND (type = 'vhost' OR type = 'vhostsubdomain') AND backup_interval != 'none'";
$sql = "SELECT * FROM web_domain WHERE server_id = '".$conf['server_id']."' AND (type = 'vhost' OR type = 'vhostsubdomain')";
$records = $app->db->queryAllRecords($sql);
if(is_array($records)) {
foreach($records as $rec) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment