Skip to content

Commit

Permalink
Issue #4: Remove obsolete and now breaking workaround (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
indigoxela authored May 10, 2022
1 parent 396a41c commit f7633e8
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions theme-settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,6 @@
* Implements hook_form_system_theme_settings_alter().
*/
function scenery_form_system_theme_settings_alter(&$form, &$form_state) {
if (module_exists('color')) {
// Until #4463 is addressed.
// @see https://github.com/backdrop/backdrop-issues/issues/4463
$form_state['build_info']['args'][0] = NULL;
}

$theme_name = $form['theme']['#value'];
$path = backdrop_get_path('theme', 'scenery');
$form['#attached']['css'] = array($path . '/css/scenery-admin.css');
Expand Down

0 comments on commit f7633e8

Please sign in to comment.