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

アーカイブの一覧に戻る

Minahito minah****@users*****
2006年 8月 9日 (水) 18:42:56 JST


Index: xoops2jp/html/modules/base/admin/class/ModuleUninstaller.class.php
diff -u xoops2jp/html/modules/base/admin/class/ModuleUninstaller.class.php:1.1.2.9 xoops2jp/html/modules/base/admin/class/ModuleUninstaller.class.php:1.1.2.10
--- xoops2jp/html/modules/base/admin/class/ModuleUninstaller.class.php:1.1.2.9	Sat Jul  1 16:24:56 2006
+++ xoops2jp/html/modules/base/admin/class/ModuleUninstaller.class.php	Wed Aug  9 18:42:56 2006
@@ -7,6 +7,19 @@
 class Legacy_ModuleUninstaller extends Legacy_AbstractModuleInstaller
 {
 	/**
+	 * @var XCube_Delegate
+	 */
+	var $mProcessScript = null;
+	
+	function Legacy_ModuleUninstaller($dirname)
+	{
+		parent::Legacy_AbstractModuleInstaller($dirname);
+		
+		$this->mProcessScript =& new XCube_Delegate();
+		$this->mProcessScript->register('Legacy_ModuleUninstaller.ProcessScript');
+	}
+	
+	/**
 	 * Load xoops module object that isn't installed and return it.
 	 * @static
 	 * @access public
@@ -137,6 +150,8 @@
 				}
 			}
 		}
+		
+		$this->mProcessScript->call(new XCube_Ref($this->mModule), new XCube_Ref($this->mLog));
 	}
 	
 	function _processReport()
Index: xoops2jp/html/modules/base/admin/class/ModuleUpdater.class.php
diff -u xoops2jp/html/modules/base/admin/class/ModuleUpdater.class.php:1.1.2.8 xoops2jp/html/modules/base/admin/class/ModuleUpdater.class.php:1.1.2.9
--- xoops2jp/html/modules/base/admin/class/ModuleUpdater.class.php:1.1.2.8	Sat Jul  1 16:24:56 2006
+++ xoops2jp/html/modules/base/admin/class/ModuleUpdater.class.php	Wed Aug  9 18:42:56 2006
@@ -9,6 +9,19 @@
 	var $mPreVersion = 0;
 
 	/**
+	 * @var XCube_Delegate
+	 */
+	var $mProcessScript = null;
+	
+	function Legacy_ModuleUpdater($dirname)
+	{
+		parent::Legacy_AbstractModuleInstaller($dirname);
+		
+		$this->mProcessScript =& new XCube_Delegate();
+		$this->mProcessScript->register('Legacy_ModuleUpdater.ProcessScript');
+	}
+
+	/**
 	 * @return bool
 	 */
 	function execute()
@@ -180,6 +193,8 @@
 				}
 			}
 		}
+		
+		$this->mProcessScript->call(new XCube_Ref($this->mModule), new XCube_Ref($this->mLog));
 	}
 	
 	function _processReport()
Index: xoops2jp/html/modules/base/admin/class/ModuleInstaller.class.php
diff -u xoops2jp/html/modules/base/admin/class/ModuleInstaller.class.php:1.1.2.15 xoops2jp/html/modules/base/admin/class/ModuleInstaller.class.php:1.1.2.16
--- xoops2jp/html/modules/base/admin/class/ModuleInstaller.class.php:1.1.2.15	Tue Jul 25 19:10:44 2006
+++ xoops2jp/html/modules/base/admin/class/ModuleInstaller.class.php	Wed Aug  9 18:42:56 2006
@@ -11,6 +11,19 @@
 class Legacy_ModuleInstaller extends Legacy_AbstractModuleInstaller
 {
     var $mAgree = false;
+	
+	/**
+	 * @var XCube_Delegate
+	 */
+	var $mProcessScript = null;
+	
+	function Legacy_ModuleInstaller($dirname)
+	{
+		parent::Legacy_AbstractModuleInstaller($dirname);
+		
+		$this->mProcessScript =& new XCube_Delegate();
+		$this->mProcessScript->register('Legacy_ModuleInstaller.ProcessScript');
+	}
 
     /**
      * Load xoops module object that isn't installed and return it.
@@ -197,6 +210,8 @@
                 }
             }
         }
+		
+		$this->mProcessScript->call(new XCube_Ref($this->mModule), new XCube_Ref($this->mLog));
     }
 	
 	function _processReport()


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