[xoops-cvslog 6296] CVS update: xoops2jp/html/modules/legacy/class

Zurück zum Archiv-Index

Minahito minah****@users*****
2007年 4月 12日 (木) 20:28:42 JST


Index: xoops2jp/html/modules/legacy/class/imagecategory.php
diff -u xoops2jp/html/modules/legacy/class/imagecategory.php:1.1.2.4 xoops2jp/html/modules/legacy/class/imagecategory.php:1.1.2.4.2.1
--- xoops2jp/html/modules/legacy/class/imagecategory.php:1.1.2.4	Sun Oct 15 16:08:31 2006
+++ xoops2jp/html/modules/legacy/class/imagecategory.php	Thu Apr 12 20:28:42 2007
@@ -154,7 +154,7 @@
 	{
 		$returnFlag = parent::insert($obj, $force);
 		
-		$handler =& xoops_gethandler('groupperm');
+		$handler =& xoops_getmodulehandler('group_permission', 'legacy');
 		
 		//
 		// If the object has groups which are allowed to read.
@@ -211,7 +211,6 @@
 		$objs =& $this->getObjects($criteria);
 		unset($criteria);
 
-		$handler =& xoops_gethandler('groupperm');
 		$ret = array();
 		foreach (array_keys($objs) as $key) {
 			if ($objs[$key]->hasReadPerm($groups)) {
@@ -228,7 +227,7 @@
 		$handler->deleteAll(new Criteria('imgcat_id', $obj->get('imgcat_id')));
 		unset($handler);
 	
-		$handler =& xoops_gethandler('groupperm');
+		$handler =& xoops_gethandler('group_permission', 'legacy');
 		$criteria =& new CriteriaCompo();
 		$criteria->add(new Criteria('gperm_itemid', $obj->get('imgcat_id')));
 		$criteria->add(new Criteria('gperm_modid', 1));


xoops-cvslog メーリングリストの案内
Zurück zum Archiv-Index