diff options
author | Dries Buytaert <dries@buytaert.net> | 2011-04-10 18:29:03 +0200 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2011-04-10 18:29:03 +0200 |
commit | b522d3dc5a62ea0df5fc9933c55b9cac3ff1b12e (patch) | |
tree | 33620fa6a2c3985fad2f652d8911182a79f7fe67 /modules | |
parent | c884fafa63a902cfb33db0bc4665fe65e342b0fc (diff) | |
download | brdo-b522d3dc5a62ea0df5fc9933c55b9cac3ff1b12e.tar.gz brdo-b522d3dc5a62ea0df5fc9933c55b9cac3ff1b12e.tar.bz2 |
- Patch #608478 by David_Rothstein: remove leftover code and variables
Diffstat (limited to 'modules')
-rw-r--r-- | modules/system/system.install | 8 | ||||
-rw-r--r-- | modules/system/system.js | 13 |
2 files changed, 8 insertions, 13 deletions
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 @@ -2972,6 +2972,14 @@ function system_update_7069() { } /** + * 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. |