[xoops-cvslog 1360] CVS update: xoops2jp/html/modules/user/class

アーカイブの一覧に戻る

Minahito minah****@users*****
2005年 12月 25日 (日) 00:04:55 JST


Index: xoops2jp/html/modules/user/class/AbstractDeleteAction.class.php
diff -u xoops2jp/html/modules/user/class/AbstractDeleteAction.class.php:1.1.2.1 xoops2jp/html/modules/user/class/AbstractDeleteAction.class.php:1.1.2.2
--- xoops2jp/html/modules/user/class/AbstractDeleteAction.class.php:1.1.2.1	Thu Dec 22 20:27:40 2005
+++ xoops2jp/html/modules/user/class/AbstractDeleteAction.class.php	Sun Dec 25 00:04:55 2005
@@ -29,7 +29,8 @@
 			return USER_FRAME_VIEW_ERROR;
 		}
 
-		return $this->mHandler->delete($this->mObject) ? USER_FRAME_VIEW_SUCCESS : USER_FRAME_VIEW_ERROR;
+		$handler =& $this->getDeleteHandler();
+		return $handler->delete($this->mObject) ? USER_FRAME_VIEW_SUCCESS : USER_FRAME_VIEW_ERROR;
 	}
 
 	function _proccessObject(&$controller)
@@ -43,6 +44,12 @@
 	{
 	}
 
+	function &getDeleteHandler($controller)
+	{
+		$handler =& $this->getHandler($controller);
+		return $handler;
+	}
+
 	function getId()
 	{
 	}


xoops-cvslog メーリングリストの案内
アーカイブの一覧に戻る