1
0

improve update notice: timeout, config

The updater in the dashboard needed a timeout to not kill the backend if github is not reachable
Also, this makes the check configurable
This commit is contained in:
onli
2014-04-24 18:25:56 +02:00
parent 2ae6bcc5dd
commit 631bc150ac
4 changed files with 63 additions and 14 deletions

View File

@ -398,6 +398,12 @@
'type' => 'bool',
'default' => false,
'permission' => 'blogConfiguration'),
array('var' => 'updateCheck',
'title' => UPDATE_NOTIFICATION,
'description' => "Show the update notification in the Dashboard, and for which channel?", # i18n
'type' => 'list',
'default' => array('stable' => 'stable', 'beta' => 'beta', 'false' => NO ), # i18n
'permission' => 'blogConfiguration'),
));
$res['display'] =