diff options
-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. |