From 38d2d1d6c20bf0cc222ec2665eb41992b659fdf5 Mon Sep 17 00:00:00 2001 From: ovclas Date: Mon, 24 Oct 2011 06:57:43 +0000 Subject: [PATCH] issue 527 Remove unnecessary getNextSequence function git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9714 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- modules/document/document.model.php | 4 ---- modules/document/ruleset/insertCategory.xml | 2 +- modules/document/tpl/category_list.html | 2 +- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/modules/document/document.model.php b/modules/document/document.model.php index a9ddeaa1f..c072c1327 100644 --- a/modules/document/document.model.php +++ b/modules/document/document.model.php @@ -866,10 +866,6 @@ } else { // If category_srl the menu brings the information if($category_srl) $category_info = $this->getCategory($category_srl); - // If you do not add value d which pertain to the menu to see the new values guhaejum category_srl - if(!$category_info->category_srl) { - $category_info->category_srl = getNextSequence(); - } } diff --git a/modules/document/ruleset/insertCategory.xml b/modules/document/ruleset/insertCategory.xml index 101f33875..a054915aa 100644 --- a/modules/document/ruleset/insertCategory.xml +++ b/modules/document/ruleset/insertCategory.xml @@ -4,7 +4,7 @@ - + diff --git a/modules/document/tpl/category_list.html b/modules/document/tpl/category_list.html index d957a7df8..d9bdab80d 100644 --- a/modules/document/tpl/category_list.html +++ b/modules/document/tpl/category_list.html @@ -20,7 +20,7 @@ -
+
???