Index: branches/unlabeled/unlabeled-1.6.2/core/units/categories/cache_updater.php =================================================================== diff -u -r5887 -r6015 --- branches/unlabeled/unlabeled-1.6.2/core/units/categories/cache_updater.php (.../cache_updater.php) (revision 5887) +++ branches/unlabeled/unlabeled-1.6.2/core/units/categories/cache_updater.php (.../cache_updater.php) (revision 6015) @@ -286,7 +286,6 @@ 'ParentPath' => '|'.implode('|', $data['parent_path']).'|', 'NamedParentPath' => implode('/', $data['named_path'] ), 'CachedCategoryTemplate' => $data['category_template'], - 'CachedItemTemplate' => $data['item_template'], ); $i = 1; @@ -325,22 +324,13 @@ $fields_hash['CategoryTemplate'] = $record['CategoryTemplate']; } - if (!$record['ItemTemplate']) { - $record['ItemTemplate'] = $this->Application->ConfigValue($root_prefix.'_ItemTemplate'); - $fields_hash['ItemTemplate'] = $record['ItemTemplate']; - } - $this->Conn->doUpdate($fields_hash, TABLE_PREFIX.'Category', 'CategoryId = '.$category_id); } // if explicitly set, then use it; use parent template otherwise if ($record['CategoryTemplate']) { $data['category_template'] = $record['CategoryTemplate']; } - - if ($record['ItemTemplate']) { - $data['item_template'] = $record['ItemTemplate']; - } } }