Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
drupal
Commits
e3cbacc3
Commit
e3cbacc3
authored
17 years ago
by
Gábor Hojtsy
Browse files
Options
Downloads
Patches
Plain Diff
#215992
by dww: provide information for upgrades from Drupal 5 with update status module
parent
60cb54b9
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!7452
Issue #1797438. HTML5 validation is preventing form submit and not fully...
,
!789
Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGELOG.txt
+2
-0
2 additions, 0 deletions
CHANGELOG.txt
modules/update/update.install
+24
-0
24 additions, 0 deletions
modules/update/update.install
with
26 additions
and
0 deletions
CHANGELOG.txt
+
2
−
0
View file @
e3cbacc3
...
...
@@ -90,6 +90,8 @@ Drupal 6.0, xxxx-xx-xx (development version)
- Added support for triggering configurable actions.
- Added the Update status module to automatically check for available updates
and warn sites if they are missing security updates or newer versions.
Sites deploying from CVS should use http://drupal.org/project/cvs_deploy.
Advanced settings provided by http://drupal.org/project/update_advanced.
- Upgraded the core JavaScript library to jQuery version 1.2.
- Added a new Schema API, which provides built-in support for core and
contributed modules to work with databases other than MySQL.
...
...
This diff is collapsed.
Click to expand it.
modules/update/update.install
+
24
−
0
View file @
e3cbacc3
...
...
@@ -7,6 +7,8 @@
function
update_install
()
{
// Create cache table.
drupal_install_schema
(
'update'
);
// Remove stale variables from update_status 5.x contrib, if any.
_update_remove_update_status_variables
();
}
/**
...
...
@@ -38,3 +40,25 @@ function update_schema() {
return
$schema
;
}
/**
* Private helper to clear out stale variables from update_status 5.x contrib.
*
* @see update_install()
* @see update_update_6000()
*/
function
_update_remove_update_status_variables
()
{
variable_del
(
'update_status_settings'
);
variable_del
(
'update_status_notify_emails'
);
variable_del
(
'update_status_check_frequency'
);
variable_del
(
'update_status_notification_threshold'
);
variable_del
(
'update_status_last'
);
variable_del
(
'update_status_fetch_url'
);
}
/**
* Clear out stale variables from update_status.
*/
function
update_update_6000
()
{
_update_remove_update_status_variables
();
return
array
();
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment