[xoops-cvslog 3786] CVS update: xoops2jp/html/modules/pm/class

Back to archive index

Minahito minah****@users*****
2006年 7月 31日 (月) 19:40:36 JST


Index: xoops2jp/html/modules/pm/class/ActionFrame.class.php
diff -u xoops2jp/html/modules/pm/class/ActionFrame.class.php:1.1.2.2 xoops2jp/html/modules/pm/class/ActionFrame.class.php:1.1.2.3
--- xoops2jp/html/modules/pm/class/ActionFrame.class.php:1.1.2.2	Thu Jul 27 18:41:38 2006
+++ xoops2jp/html/modules/pm/class/ActionFrame.class.php	Mon Jul 31 19:40:36 2006
@@ -1,7 +1,7 @@
 <?php
 /**
  * @package pm
- * @version $Id: ActionFrame.class.php,v 1.1.2.2 2006/07/27 09:41:38 minahito Exp $
+ * @version $Id: ActionFrame.class.php,v 1.1.2.3 2006/07/31 10:40:36 minahito Exp $
  */
 
 if (!defined('XOOPS_ROOT_PATH')) exit();
@@ -75,7 +75,7 @@
 		$this->mAction->prepare($controller, $controller->getXoopsUser(), $moduleConfig);
 	
 		if (!$this->mAction->hasPermission($controller, $controller->getXoopsUser(), $moduleConfig)) {
-			$this->doPermissionError();
+			$this->doPermissionError($controller);
 			return;
 		}
 	
@@ -113,10 +113,10 @@
 		}
 	}
 
-	function doPermissionError()
+	function doPermissionError(&$controller)
 	{
 		$errorMessages = array(_PM_SORRY, _PM_PLZREG);
-		XCube_Utils::redirectHeader(XOOPS_URL, 2, $errorMessages);
+		$controller->executeRedirect(XOOPS_URL, 2, $errorMessages);
 	}
 
 	function doActionNotFoundError($controller)


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