Index: includes/common.inc
===================================================================
RCS file: /cvs/drupal/drupal/includes/common.inc,v
retrieving revision 1.1248
diff -u -p -F '^f' -r1.1248 common.inc
--- includes/common.inc	5 Nov 2010 01:29:20 -0000	1.1248
+++ includes/common.inc	6 Nov 2010 19:52:02 -0000
@@ -6616,7 +6616,7 @@ function drupal_write_record($table, &$r
  * - name: The real name of the theme for display purposes
  * - description: Brief description
  * - screenshot: Path to screenshot relative to the theme's .info file.
- * - engine: Theme engine, typically: engine = phptemplate
+ * - engine: Theme engine; typically phptemplate.
  * - base: Name of a base theme, if applicable, eg: base = zen
  * - regions: Listed regions eg: region[left] = Left sidebar
  * - features: Features available eg: features[] = logo
Index: modules/system/system.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/system/system.module,v
retrieving revision 1.986
diff -u -p -F '^f' -r1.986 system.module
--- modules/system/system.module	31 Oct 2010 22:02:20 -0000	1.986
+++ modules/system/system.module	6 Nov 2010 19:52:14 -0000
@@ -2410,6 +2410,7 @@ function _system_rebuild_theme_data() {
 
   // Set defaults for theme info.
   $defaults = array(
+    'engine' => 'phptemplate',
     'regions' => array(
       'sidebar_first' => 'Left sidebar',
       'sidebar_second' => 'Right sidebar',
@@ -2443,7 +2444,7 @@ function _system_rebuild_theme_data() {
     if (!empty($themes[$key]->info['base theme'])) {
       $sub_themes[] = $key;
     }
-    if (empty($themes[$key]->info['engine'])) {
+    if ($themes[$key]->info['engine'] == 'theme') {
       $filename = dirname($themes[$key]->uri) . '/' . $themes[$key]->name . '.theme';
       if (file_exists($filename)) {
         $themes[$key]->owner = $filename;
Index: themes/bartik/bartik.info
===================================================================
RCS file: /cvs/drupal/drupal/themes/bartik/bartik.info,v
retrieving revision 1.4
diff -u -p -F '^f' -r1.4 bartik.info
--- themes/bartik/bartik.info	5 Sep 2010 02:21:38 -0000	1.4
+++ themes/bartik/bartik.info	6 Nov 2010 19:52:16 -0000
@@ -5,7 +5,6 @@ description = A flexible, recolorable th
 package = Core
 version = VERSION
 core = 7.x
-engine = phptemplate
 
 stylesheets[all][] = css/layout.css
 stylesheets[all][] = css/style.css
Index: themes/garland/garland.info
===================================================================
RCS file: /cvs/drupal/drupal/themes/garland/garland.info,v
retrieving revision 1.9
diff -u -p -F '^f' -r1.9 garland.info
--- themes/garland/garland.info	1 Dec 2009 15:57:40 -0000	1.9
+++ themes/garland/garland.info	6 Nov 2010 19:52:16 -0000
@@ -4,7 +4,6 @@ description = A multi-column theme which
 package = Core
 version = VERSION
 core = 7.x
-engine = phptemplate
 stylesheets[all][] = style.css
 stylesheets[print][] = print.css
 settings[garland_width] = fluid
Index: themes/seven/seven.info
===================================================================
RCS file: /cvs/drupal/drupal/themes/seven/seven.info,v
retrieving revision 1.5
diff -u -p -F '^f' -r1.5 seven.info
--- themes/seven/seven.info	14 Jan 2010 06:47:54 -0000	1.5
+++ themes/seven/seven.info	6 Nov 2010 19:52:16 -0000
@@ -4,7 +4,6 @@ description = A simple one-column, table
 package = Core
 version = VERSION
 core = 7.x
-engine = phptemplate
 stylesheets[screen][] = reset.css
 stylesheets[screen][] = style.css
 settings[shortcut_module_link] = 1
Index: themes/stark/stark.info
===================================================================
RCS file: /cvs/drupal/drupal/themes/stark/stark.info,v
retrieving revision 1.3
diff -u -p -F '^f' -r1.3 stark.info
--- themes/stark/stark.info	20 Dec 2009 19:43:10 -0000	1.3
+++ themes/stark/stark.info	6 Nov 2010 19:52:16 -0000
@@ -4,5 +4,4 @@ description = This theme demonstrates Dr
 package = Core
 version = VERSION
 core = 7.x
-engine = phptemplate
 stylesheets[all][] = layout.css
Index: themes/tests/test_theme/test_theme.info
===================================================================
RCS file: /cvs/drupal/drupal/themes/tests/test_theme/test_theme.info,v
retrieving revision 1.2
diff -u -p -F '^f' -r1.2 test_theme.info
--- themes/tests/test_theme/test_theme.info	3 Oct 2010 05:11:16 -0000	1.2
+++ themes/tests/test_theme/test_theme.info	6 Nov 2010 19:52:16 -0000
@@ -2,7 +2,6 @@
 name = Test theme
 description = Theme for testing the theme system
 core = 7.x
-engine = phptemplate
 hidden = TRUE
 
 ; Normally, themes may list CSS files like this, and if they exist in the theme
Index: themes/tests/update_test_basetheme/update_test_basetheme.info
===================================================================
RCS file: /cvs/drupal/drupal/themes/tests/update_test_basetheme/update_test_basetheme.info,v
retrieving revision 1.1
diff -u -p -F '^f' -r1.1 update_test_basetheme.info
--- themes/tests/update_test_basetheme/update_test_basetheme.info	8 Oct 2009 15:40:34 -0000	1.1
+++ themes/tests/update_test_basetheme/update_test_basetheme.info	6 Nov 2010 19:52:16 -0000
@@ -2,5 +2,4 @@
 name = Update test base theme
 description = Test theme which acts as a base theme for other test subthemes.
 core = 7.x
-engine = phptemplate
 hidden = TRUE
Index: themes/tests/update_test_subtheme/update_test_subtheme.info
===================================================================
RCS file: /cvs/drupal/drupal/themes/tests/update_test_subtheme/update_test_subtheme.info,v
retrieving revision 1.1
diff -u -p -F '^f' -r1.1 update_test_subtheme.info
--- themes/tests/update_test_subtheme/update_test_subtheme.info	8 Oct 2009 15:40:34 -0000	1.1
+++ themes/tests/update_test_subtheme/update_test_subtheme.info	6 Nov 2010 19:52:16 -0000
@@ -2,6 +2,5 @@
 name = Update test subtheme
 description = Test theme which uses update_test_basetheme as the base theme.
 core = 7.x
-engine = phptemplate
 base theme = update_test_basetheme
 hidden = TRUE
