From b522d3dc5a62ea0df5fc9933c55b9cac3ff1b12e Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 10 Apr 2011 18:29:03 +0200 Subject: - Patch #608478 by David_Rothstein: remove leftover code and variables --- modules/system/system.install | 8 ++++++++ modules/system/system.js | 13 ------------- 2 files changed, 8 insertions(+), 13 deletions(-) (limited to 'modules') diff --git a/modules/system/system.install b/modules/system/system.install index af02edc15..3d26becae 100644 --- a/modules/system/system.install +++ b/modules/system/system.install @@ -2971,6 +2971,14 @@ function system_update_7069() { variable_del('site_offline'); } +/** + * Remove the obsolete 'drupal_badge_color' and 'drupal_badge_size' variables. + */ +function system_update_7070() { + variable_del('drupal_badge_color'); + variable_del('drupal_badge_size'); +} + /** * @} End of "defgroup updates-6.x-to-7.x" * The next series of updates should start at 8000. diff --git a/modules/system/system.js b/modules/system/system.js index 7062549c8..5446d28a3 100644 --- a/modules/system/system.js +++ b/modules/system/system.js @@ -113,19 +113,6 @@ Drupal.behaviors.dateTime = { } }; -/** - * Show the powered by Drupal image preview - */ -Drupal.behaviors.poweredByPreview = { - attach: function (context, settings) { - $('#edit-color, #edit-size').change(function () { - var path = settings.basePath + 'misc/' + $('#edit-color').val() + '-' + $('#edit-size').val() + '.png'; - $('img.powered-by-preview').attr('src', path); - }); - } -}; - - /** * Show/hide settings for page caching depending on whether page caching is * enabled or not. -- cgit v1.2.3