From 2861c35d0189b00b9eb963b314723c0cc81effe0 Mon Sep 17 00:00:00 2001 From: flyskyko Date: Thu, 12 Jul 2012 09:12:11 +0000 Subject: [PATCH] Deleted codes that delete layout instance which is deleted layout files git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.3.1@10875 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- modules/layout/layout.model.php | 7 ------- 1 file changed, 7 deletions(-) diff --git a/modules/layout/layout.model.php b/modules/layout/layout.model.php index 9c279e64f..d0c1cc95d 100644 --- a/modules/layout/layout.model.php +++ b/modules/layout/layout.model.php @@ -84,13 +84,6 @@ // Return xml file informaton after listing up the layout and extra_vars $layout_info = $this->getLayoutInfo($layout, $output->data, $output->data->layout_type); - // If deleted layout files, delete layout instance - if (!$layout_info) { - $oLayoutController = &getAdminController('layout'); - $oLayoutController->deleteLayout($layout_srl); - return; - } - //insert in cache if($oCacheHandler->isSupport()) $oCacheHandler->put($cache_key,$layout_info); }