[xoops-cvslog 1722] CVS update: xoops2jp/html/modules/legacyRender/class

Back to archive index

Minahito minah****@users*****
2006年 1月 14日 (土) 03:16:17 JST


Index: xoops2jp/html/modules/legacyRender/class/tplset.php
diff -u xoops2jp/html/modules/legacyRender/class/tplset.php:1.1.2.3 xoops2jp/html/modules/legacyRender/class/tplset.php:1.1.2.4
--- xoops2jp/html/modules/legacyRender/class/tplset.php:1.1.2.3	Sat Jan 14 02:58:22 2006
+++ xoops2jp/html/modules/legacyRender/class/tplset.php	Sat Jan 14 03:16:17 2006
@@ -40,14 +40,10 @@
 
 	function delete(&$obj, $force)
 	{
-		if (!parent::delete($obj, $force)) {
-			return false;
-		}
-
 		$handler =& xoops_getmodulehandler('tplfile');
-		$handler->deleteAll(new Criteria('tplset_name', $obj->get('tpl_tplset')));
-		
-		return true;
+		$handler->deleteAll(new Criteria('tpl_tplset', $obj->get('tplset_name')));
+
+		return parent::delete($obj, $force);
 	}
 }
 


xoops-cvslog メーリングリストの案内
Back to archive index