[xoops-cvslog 5372] CVS update: xoops2jp/html/modules/stdCache/preload

Back to archive index

Minahito minah****@users*****
2006年 10月 17日 (火) 00:12:26 JST


Index: xoops2jp/html/modules/stdCache/preload/Initialize.class.php
diff -u xoops2jp/html/modules/stdCache/preload/Initialize.class.php:1.1.2.1.2.1 xoops2jp/html/modules/stdCache/preload/Initialize.class.php:1.1.2.1.2.2
--- xoops2jp/html/modules/stdCache/preload/Initialize.class.php:1.1.2.1.2.1	Thu Oct  5 18:10:56 2006
+++ xoops2jp/html/modules/stdCache/preload/Initialize.class.php	Tue Oct 17 00:12:25 2006
@@ -10,11 +10,11 @@
 {
 	function preBlockFilter()
 	{
-		$this->mController->mCheckEnableBlockCache->add(array(&$this, 'checkForBlock'), XCUBE_DELEGATE_PRIORITY_FIRST + 10);
-		$this->mController->mCheckEnableModuleCache->add(array(&$this, 'checkForModule'), XCUBE_DELEGATE_PRIORITY_FIRST + 10);
+		$this->mController->mSetBlockCachePolicy->add(array(&$this, 'setForBlock'), XCUBE_DELEGATE_PRIORITY_FIRST + 10);
+		$this->mController->mSetModuleCachePolicy->add(array(&$this, 'setForModule'), XCUBE_DELEGATE_PRIORITY_FIRST + 10);
 	}
 	
-	function checkForBlock(&$cacheInfo)
+	function setForBlock(&$cacheInfo)
 	{
 		$user =& $this->mRoot->mContext->mXoopsUser;
 		if (is_object($user)) {
@@ -27,7 +27,7 @@
 		}
 	}
 
-	function checkForModule(&$cacheInfo)
+	function setForModule(&$cacheInfo)
 	{
 		$user =& $this->mRoot->mContext->mXoopsUser;
 		if (is_object($user)) {


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