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:
@ -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'] =
|
||||
|
Reference in New Issue
Block a user