Closed (won't fix)
Project:
Update Notifications Disable
Version:
6.x-1.0
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
22 Mar 2008 at 05:42 UTC
Updated:
4 Feb 2009 at 09:01 UTC
I think it's useful to add a description to update notifications on page status report that update notifications is disabled by this module.
function update_requirements($phase) {
if ($phase == 'runtime') {
$requirements['update status'] = array(
'severity' => REQUIREMENT_WARNING,
'description' => t('Disabled by module <em>Update Notification Disable</em>.'),
);
}
return $requirements;
}
| Comment | File | Size | Author |
|---|---|---|---|
| update-notification-disable-description.png | 11.64 KB | rstamm |
Comments
Comment #1
webchickDarn! I wanted this to be the only project with NO issues in its issue queue. :D
Anyway, this makes sense. Only thing is, I wonder if there's a way to make "Enabled" "Disabled" since it's confusing to say "Enabled" and then in the description that it's "disabled" :P
This also might not be possible. Could you investigate and report back one way or the other? Then I can commit this patch.
Comment #2
rstamm commentedThere is no way to make "Enabled" "Disabled".
module_invoke_all() uses array_merge_recursive() which append new values but not overwrite the original one.
The values 'severity' and 'description' are not set yet, so we can use it.
May be a better description won't confuse the user so much.
Comment #3
dwwI thought the whole point of this module was to turn off the warnings on that page. What good is replacing:
"Update notifications are not enabled. It is highly recommended that you enable the update status module from the module administration page in order to stay up-to-date on new releases. For more information please read the Update status handbook page."
with:
"Disabled by the Update Notification Disable module"
?