Issue 1921: Disable the auto update
This commit is contained in:
5
boot.php
5
boot.php
@@ -734,6 +734,11 @@ if(! class_exists('App')) {
|
||||
|
||||
function init_pagehead() {
|
||||
$interval = ((local_user()) ? get_pconfig(local_user(),'system','update_interval') : 40000);
|
||||
|
||||
// If the update is "deactivated" set it to the highest integer number (~24 days)
|
||||
if ($interval < 0)
|
||||
$interval = 2147483647;
|
||||
|
||||
if($interval < 10000)
|
||||
$interval = 40000;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user