mirror of
https://github.com/opnsense/core.git
synced 2026-10-12 02:20:36 +00:00
system: $config is unused in core.inc
This commit is contained in:
@@ -288,8 +288,6 @@ function core_devices()
|
||||
|
||||
function core_cron()
|
||||
{
|
||||
global $config;
|
||||
|
||||
$jobs = [];
|
||||
|
||||
$jobs[]['autocron'] = ['/usr/local/sbin/configctl -d syslog archive', '1'];
|
||||
@@ -308,9 +306,6 @@ function core_cron()
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* rrd graph collector, only schedule execution when enabled
|
||||
*/
|
||||
if (!(new \OPNsense\Diagnostics\SystemHealth())->enabled->isEmpty()) {
|
||||
$jobs[]['autocron'] = [
|
||||
'/usr/local/bin/flock -n -E 0 -o /tmp/updaterrd.lock /usr/local/opnsense/scripts/health/updaterrd.php',
|
||||
|
||||
Reference in New Issue
Block a user