diff options
author | Simon Rettberg | 2014-06-02 20:03:27 +0200 |
---|---|---|
committer | Simon Rettberg | 2014-06-02 20:03:27 +0200 |
commit | e2bfe6c411a05e3332d754e01ae2ad46a0bcb770 (patch) | |
tree | 33b7b6d1d8cb2626cc26738d7b05f8e69dae4cc2 /inc/property.inc.php | |
parent | Fix tracking of js taskmanager poller status; remove obsolete hack from taskm... (diff) | |
download | slx-admin-e2bfe6c411a05e3332d754e01ae2ad46a0bcb770.tar.gz slx-admin-e2bfe6c411a05e3332d754e01ae2ad46a0bcb770.tar.xz slx-admin-e2bfe6c411a05e3332d754e01ae2ad46a0bcb770.zip |
Continue to show minilinux download status even when refreshing the page
Diffstat (limited to 'inc/property.inc.php')
-rw-r--r-- | inc/property.inc.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/property.inc.php b/inc/property.inc.php index 0aa1841e..d62bbcb9 100644 --- a/inc/property.inc.php +++ b/inc/property.inc.php @@ -111,7 +111,7 @@ class Property 'url' => CONFIG_REMOTE_ML . '/list.php' )); if (!isset($task['id'])) - return false; + return 'Could not start list download (' . Message::asString() . ')'; if ($task['statusCode'] !== TASK_FINISHED) { $task = Taskmanager::waitComplete($task['id']); } @@ -126,7 +126,7 @@ class Property public static function setVersionCheckInformation($value) { - self::set('versioncheck-data', json_encode($value)); + self::set('versioncheck-data', json_encode($value), 1); } public static function getVmStoreConfig() |