1
0
Fork 0

Issue 1921: Disable the auto update

This commit is contained in:
Michael Vogel 2015-12-06 00:18:59 +01:00
commit f406e5ddbd
2 changed files with 13 additions and 5 deletions

View file

@ -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;