diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-06-22 13:21:38 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-06-22 13:21:38 +0000 |
commit | fabaaaaa6e065b1f8f89c00b31b947fa7861d13c (patch) | |
tree | c9cb0fdb1b99300edeb7b943ffb8eb9bbab7d759 /modules/update/update.install | |
parent | f96c141f5aa99ed414eba4e0a520e5b4d9f91b76 (diff) | |
download | brdo-fabaaaaa6e065b1f8f89c00b31b947fa7861d13c.tar.gz brdo-fabaaaaa6e065b1f8f89c00b31b947fa7861d13c.tar.bz2 |
- Patch #278592 by catch, Dave Reid, lilou et al: remove D5 to D6 updates.
Diffstat (limited to 'modules/update/update.install')
-rw-r--r-- | modules/update/update.install | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/modules/update/update.install b/modules/update/update.install index 8814b9781..f8a6e3ab6 100644 --- a/modules/update/update.install +++ b/modules/update/update.install @@ -12,8 +12,6 @@ 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(); } /** @@ -44,26 +42,3 @@ function update_schema() { $schema['cache_update']['description'] = 'Cache table for the Update module to store information about available releases, fetched from central server.'; 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(); -} |