summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Rothstein2012-12-08 20:54:11 (GMT)
committer David Rothstein2012-12-08 20:54:11 (GMT)
commit2b86b82f49c88b493a7c8f41221dd061ea90590e (patch)
tree625ad52b59a39c3587925a6d700bf882d9fab4e7
parentee22e043bf64dd0c4f2dd09a4edd7959a931c101 (diff)
Issue #1817680 by haydeniv | netol: Fixed Update notification is printed more than one time.
-rw-r--r--modules/update/update.module6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/update/update.module b/modules/update/update.module
index 85c0968..d5728be 100644
--- a/modules/update/update.module
+++ b/modules/update/update.module
@@ -139,10 +139,10 @@ function update_init() {
if (!empty($verbose)) {
if (isset($status[$type]['severity'])) {
if ($status[$type]['severity'] == REQUIREMENT_ERROR) {
- drupal_set_message($status[$type]['description'], 'error');
+ drupal_set_message($status[$type]['description'], 'error', FALSE);
}
elseif ($status[$type]['severity'] == REQUIREMENT_WARNING) {
- drupal_set_message($status[$type]['description'], 'warning');
+ drupal_set_message($status[$type]['description'], 'warning', FALSE);
}
}
}
@@ -152,7 +152,7 @@ function update_init() {
if (isset($status[$type])
&& isset($status[$type]['reason'])
&& $status[$type]['reason'] === UPDATE_NOT_SECURE) {
- drupal_set_message($status[$type]['description'], 'error');
+ drupal_set_message($status[$type]['description'], 'error', FALSE);
}
}
}