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());
|
||||
|
||||
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.
|
||||
if (variable_get('drupal_http_request_fails', TRUE) && !system_check_http_request()) {
|
||||
$requirements['http requests'] = array(
|
||||
|
@ -414,8 +399,8 @@ function system_install() {
|
|||
db_query("INSERT INTO {role} (name) VALUES ('%s')", 'authenticated user');
|
||||
$rid_authenticated = db_last_insert_id('role', 'rid');
|
||||
|
||||
// Sanity check to ensure the anonymous and authenticated role IDs are the
|
||||
// same as the drupal defined constants. In certain situations, this will
|
||||
// Sanity check to ensure the anonymous and authenticated role IDs are the
|
||||
// same as the drupal defined constants. In certain situations, this will
|
||||
// not be true
|
||||
if ($rid_anonymous != DRUPAL_ANONYMOUS_RID) {
|
||||
db_query("UPDATE {role} SET rid = %d WHERE rid = %d", DRUPAL_ANONYMOUS_RID, $rid_anonymous);
|
||||
|
@ -838,7 +823,7 @@ function system_schema() {
|
|||
'indexes' => array(
|
||||
'fit' => array('fit'),
|
||||
'tab_parent' => array('tab_parent'),
|
||||
'tab_root_weight_title' => array(array('tab_root', 64), 'weight', 'title'),
|
||||
'tab_root_weight_title' => array(array('tab_root', 64), 'weight', 'title'),
|
||||
),
|
||||
'primary key' => array('path'),
|
||||
);
|
||||
|
@ -1878,8 +1863,8 @@ function system_update_6021() {
|
|||
}
|
||||
if ($item['description']) {
|
||||
$item['options']['attributes']['title'] = $item['description'];
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// Save the link.
|
||||
menu_link_save($item);
|
||||
$_SESSION['menu_item_map'][$item['mid']] = array('mlid' => $item['mlid'], 'menu_name' => $item['menu_name']);
|
||||
|
@ -2749,4 +2734,3 @@ function system_update_6056() {
|
|||
* @} End of "defgroup updates-6.x-extra".
|
||||
* The next series of updates should start at 7000.
|
||||
*/
|
||||
|
||||
|
|
Reference in a new issue