Skip to content

Commit d983e87

Browse files
committed
last_jailkit_update was not set for websites without a jailkit
1 parent aee0071 commit d983e87

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

server/lib/classes/cron.d/600-jailkit_maintenance.inc.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ public function onRunJob() {
7474

7575
foreach($records as $rec) {
7676
if (!is_dir($rec['document_root']) || !is_dir($rec['document_root'].'/etc/jailkit')) {
77+
$app->db->query("UPDATE `web_domain` SET `last_jailkit_update` = NOW() WHERE `document_root` = ?", $rec['document_root']);
7778
continue;
7879
}
7980

0 commit comments

Comments
 (0)