[xoops-cvslog 1461] CVS update: xoops2jp/html/modules/base/admin/class

Back to archive index

Minahito minah****@users*****
2005年 12月 28日 (水) 22:53:58 JST


Index: xoops2jp/html/modules/base/admin/class/AbstractModuleInstaller.class.php
diff -u xoops2jp/html/modules/base/admin/class/AbstractModuleInstaller.class.php:1.1.2.2 xoops2jp/html/modules/base/admin/class/AbstractModuleInstaller.class.php:1.1.2.3
--- xoops2jp/html/modules/base/admin/class/AbstractModuleInstaller.class.php:1.1.2.2	Mon Dec 19 22:58:54 2005
+++ xoops2jp/html/modules/base/admin/class/AbstractModuleInstaller.class.php	Wed Dec 28 22:53:58 2005
@@ -58,6 +58,10 @@
 		if (!$this->mForceMode && $this->mLog->hasError())
 			return false;
 
+		$this->_installPreference();
+		if (!$this->mForceMode && $this->mLog->hasError())
+			return false;
+
 		return true;
 	}
 
@@ -105,6 +109,13 @@
 	}
 	
 	/**
+	 * Install or uninstall blocks and their preference, this function is called by own execute().
+	 */
+	function _installPreference()
+	{
+	}
+	
+	/**
 	 * If set true, this class may never stop for error.
 	 */
 	function setForceMode($flag)


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