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
This commit is contained in:
flyskyko 2012-07-12 09:12:11 +00:00
parent 883e81fd0a
commit 2861c35d01

View file

@ -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);
}