Commit edf105af authored by Marius Burkard's avatar Marius Burkard

Merge branch '5904-last_jailkit_update' into 'develop'

last_jailkit_update was not set for websites without a jailkit

Closes #5904

See merge request !1317
parents 1bdf899e d983e877
Pipeline #6422 passed with stage
in 16 seconds
......@@ -74,6 +74,7 @@ class cronjob_jailkit_maintenance extends cronjob {
foreach($records as $rec) {
if (!is_dir($rec['document_root']) || !is_dir($rec['document_root'].'/etc/jailkit')) {
$app->db->query("UPDATE `web_domain` SET `last_jailkit_update` = NOW() WHERE `document_root` = ?", $rec['document_root']);
continue;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment