Disabled check for update status module
This commit is contained in:
parent
2bc939741c
commit
178f8da0d6
1 changed files with 5 additions and 21 deletions
|
@ -292,21 +292,6 @@ function system_requirements($phase) {
|
||||||
$requirements = array_merge($requirements, unicode_requirements());
|
$requirements = array_merge($requirements, unicode_requirements());
|
||||||
|
|
||||||
if ($phase == 'runtime') {
|
if ($phase == 'runtime') {
|
||||||
// Check for update status module.
|
|
||||||
if (!module_exists('update')) {
|
|
||||||
$requirements['update status'] = array(
|
|
||||||
'value' => $t('Not enabled'),
|
|
||||||
'severity' => REQUIREMENT_WARNING,
|
|
||||||
'description' => $t('Update notifications are not enabled. It is <strong>highly recommended</strong> that you enable the update status module from the <a href="@module">module administration page</a> in order to stay up-to-date on new releases. For more information please read the <a href="@update">Update status handbook page</a>.', array('@update' => 'http://drupal.org/handbook/modules/update', '@module' => url('admin/build/modules'))),
|
|
||||||
);
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
$requirements['update status'] = array(
|
|
||||||
'value' => $t('Enabled'),
|
|
||||||
);
|
|
||||||
}
|
|
||||||
$requirements['update status']['title'] = $t('Update notifications');
|
|
||||||
|
|
||||||
// Check that Drupal can issue HTTP requests.
|
// Check that Drupal can issue HTTP requests.
|
||||||
if (variable_get('drupal_http_request_fails', TRUE) && !system_check_http_request()) {
|
if (variable_get('drupal_http_request_fails', TRUE) && !system_check_http_request()) {
|
||||||
$requirements['http requests'] = array(
|
$requirements['http requests'] = array(
|
||||||
|
@ -2749,4 +2734,3 @@ function system_update_6056() {
|
||||||
* @} End of "defgroup updates-6.x-extra".
|
* @} End of "defgroup updates-6.x-extra".
|
||||||
* The next series of updates should start at 7000.
|
* The next series of updates should start at 7000.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
Reference in a new issue