summaryrefslogtreecommitdiff
path: root/modules/update/update.report.inc
diff options
context:
space:
mode:
Diffstat (limited to 'modules/update/update.report.inc')
-rw-r--r--modules/update/update.report.inc15
1 files changed, 8 insertions, 7 deletions
diff --git a/modules/update/update.report.inc b/modules/update/update.report.inc
index 8191af6a3..945933d67 100644
--- a/modules/update/update.report.inc
+++ b/modules/update/update.report.inc
@@ -47,17 +47,18 @@ function theme_update_report($data) {
$class = 'ok';
$icon = theme('image', 'misc/watchdog-ok.png', t('ok'), t('ok'));
break;
+ case UPDATE_UNKNOWN:
+ $class = 'unknown';
+ $icon = theme('image', 'misc/watchdog-warning.png', t('warning'), t('warning'));
+ break;
case UPDATE_NOT_SECURE:
case UPDATE_REVOKED:
case UPDATE_NOT_SUPPORTED:
+ $class = 'error';
+ $icon = theme('image', 'misc/watchdog-error.png', t('error'), t('error'));
+ break;
+ case UPDATE_NOT_CHECKED:
case UPDATE_NOT_CURRENT:
- if ($notification_level == 'all'
- || $project['status'] != UPDATE_NOT_CURRENT) {
- $class = 'error';
- $icon = theme('image', 'misc/watchdog-error.png', t('error'), t('error'));
- break;
- }
- // Otherwise, deliberate no break and use the warning class/icon.
default:
$class = 'warning';
$icon = theme('image', 'misc/watchdog-warning.png', t('warning'), t('warning'));