Index: modules/system/system.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/system/system.module,v
retrieving revision 1.507
diff -u -p -r1.507 system.module
--- modules/system/system.module	3 Jul 2007 19:11:14 -0000	1.507
+++ modules/system/system.module	4 Jul 2007 06:14:47 -0000
@@ -2453,22 +2453,6 @@ function system_theme_settings(&$form_st
     );
   }
 
-  if ($key) {
-    // Template-specific settings
-    $function = $themes[$key]->prefix .'_settings';
-    if (function_exists($function)) {
-      if ($themes[$key]->template) {
-        // file is a template or a style of a template
-        $form['specific'] = array('#type' => 'fieldset', '#title' => t('Engine-specific settings'), '#description' => t('These settings only exist for all the templates and styles based on the %engine theme engine.', array('%engine' => $themes[$key]->prefix)));
-      }
-      else {
-        // file is a theme or a style of a theme
-        $form['specific'] = array('#type' => 'fieldset', '#title' => t('Theme-specific settings'), '#description' => t('These settings only exist for the %theme theme and all the styles based on it.', array('%theme' => $themes[$key]->prefix)));
-      }
-      $group = $function();
-      $form['specific'] = array_merge($form['specific'], (is_array($group) ? $group : array()));
-    }
-  }
   $form['#attributes'] = array('enctype' => 'multipart/form-data');
 
   $form = system_settings_form($form);
