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

Back to archive index

Minahito minah****@users*****
2005年 12月 19日 (月) 23:00:16 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.1 xoops2jp/html/modules/base/admin/class/ModuleUninstaller.class.php:1.1.2.2
--- xoops2jp/html/modules/base/admin/class/ModuleUninstaller.class.php:1.1.2.1	Fri Dec 16 18:56:11 2005
+++ xoops2jp/html/modules/base/admin/class/ModuleUninstaller.class.php	Mon Dec 19 23:00:16 2005
@@ -53,7 +53,10 @@
 				// TODO Do we need to check reserved core tables?
 
 				$sql = "DROP TABLE " . $db->prefix($table);
-				if (!$db->query($sql)) {
+				if ($db->query($sql)) {
+					$this->mLog->addReport("Drop table " . $db->prefix($table));
+				}
+				else {
 					$this->mLog->addError("Could not drop table " . $db->prefix($table));
 				}
 			}
@@ -68,7 +71,7 @@
 		$tplHandler =& xoops_gethandler('tplfile');
 
 		$deleteTemplates =& $tplHandler->find(null, 'module', $this->mModule->getVar('mid'));
-
+		
 		foreach($deleteTemplates as $template) {
 			$tplHandler->delete($template);
 		}


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