aboutsummaryrefslogtreecommitdiff
path: root/app/Controllers/updateController.php
diff options
context:
space:
mode:
authorGravatar Kevin Papst <kevinpapst@users.noreply.github.com> 2017-12-02 13:45:26 +0100
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2017-12-02 13:45:26 +0100
commit8abfe1cf28b9ca4b1b53073dbb1ec24953855777 (patch)
tree4aa5ce1004af6aad2b0c519f8cb736ff34317c37 /app/Controllers/updateController.php
parentb5626391553b57d85cca87869c27ffdbdb9a0b04 (diff)
Update panel shows latest version message as success (#1701)
show latest version message as success, FIXES #1586
Diffstat (limited to 'app/Controllers/updateController.php')
-rw-r--r--app/Controllers/updateController.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Controllers/updateController.php b/app/Controllers/updateController.php
index 7a8a3d6c0..c67b358bb 100644
--- a/app/Controllers/updateController.php
+++ b/app/Controllers/updateController.php
@@ -102,7 +102,7 @@ class FreshRSS_update_Controller extends Minz_ActionController {
$version = 'git';
} else {
$this->view->message = array(
- 'status' => 'bad',
+ 'status' => 'latest',
'title' => _t('gen.short.damn'),
'body' => _t('feedback.update.none')
);
@@ -138,7 +138,7 @@ class FreshRSS_update_Controller extends Minz_ActionController {
$status = $res_array[0];
if (strpos($status, 'UPDATE') !== 0) {
$this->view->message = array(
- 'status' => 'bad',
+ 'status' => 'latest',
'title' => _t('gen.short.damn'),
'body' => _t('feedback.update.none')
);