- don't allow deletion of cronfiles if vendor==froxlor

This commit is contained in:
Michael Kaufmann (d00p)
2010-01-28 11:58:49 +00:00
parent f3af17b9a8
commit 6014cf7598
2 changed files with 8 additions and 2 deletions

View File

@@ -74,7 +74,13 @@ if($page == 'cronjobs'
}
$description = $lng['crondesc'][$row['desc_lng_key']];
/*
* don't allow deletion of 'froxlor' cronjobs
*/
$vendor_a = explode('/', $row['module']);
$vendor = $vendor_a[0];
eval("\$crons.=\"" . getTemplate("cronjobs/cronjobs_cronjob") . "\";");
$count++;
}