code corrections
This commit is contained in:
parent
a1fcff67f2
commit
1f9b52f2bf
3 changed files with 4 additions and 4 deletions
|
@ -22,7 +22,7 @@ function checkversion_run () {
|
|||
$checkurl = Config::get('system', 'check_new_version_url', 'none');
|
||||
|
||||
// check for new versions at all?
|
||||
if ( $checkurl == 'none' ) {
|
||||
if ($checkurl == 'none' ) {
|
||||
return;
|
||||
}
|
||||
$gitversion = dbesc(trim(fetch_url($checkurl)));
|
||||
|
|
|
@ -81,7 +81,7 @@ function cron_run(&$argv, &$argc){
|
|||
dba::delete('workerqueue', array('`done` AND `executed` < UTC_TIMESTAMP() - INTERVAL 12 HOUR'));
|
||||
|
||||
// check upstream version?
|
||||
proc_run(PRIORITY_LOW, 'include/checkversion.php');
|
||||
Worker::add(PRIORITY_LOW, 'checkversion');
|
||||
}
|
||||
|
||||
// Poll contacts
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue