[xoops-cvslog 6238] CVS update: xoops2jp/html/modules/legacy/admin/class

Back to archive index

Minahito minah****@users*****
2007年 3月 16日 (金) 20:14:50 JST


Index: xoops2jp/html/modules/legacy/admin/class/ModuleInstallUtils.class.php
diff -u xoops2jp/html/modules/legacy/admin/class/ModuleInstallUtils.class.php:1.1.2.21.2.2 xoops2jp/html/modules/legacy/admin/class/ModuleInstallUtils.class.php:1.1.2.21.2.3
--- xoops2jp/html/modules/legacy/admin/class/ModuleInstallUtils.class.php:1.1.2.21.2.2	Wed Mar 14 15:44:06 2007
+++ xoops2jp/html/modules/legacy/admin/class/ModuleInstallUtils.class.php	Fri Mar 16 20:14:50 2007
@@ -391,7 +391,7 @@
 		foreach ($definedBlocks as $block) {
 			$func_num++;
 			$newBlock =& Legacy_ModuleInstallUtils::createBlockByInfo($module, $block, $func_num);
-			Legacy_ModuleInstallUtils::installBlock($module, $newBlock, $block, $mLog);
+			Legacy_ModuleInstallUtils::installBlock($module, $newBlock, $block, $log);
         }
 	}
 
@@ -509,7 +509,7 @@
                 if (!empty($block['show_all_module'])) {
         			$link_sql = "INSERT INTO " . $blockHandler->db->prefix('block_module_link') . " (block_id, module_id) VALUES (".$blockObj->getVar('bid').", 0)";
 		        	if (!$blockHandler->db->query($link_sql)) {
-       					$log->addWarn(XCube_Utils::formatMessage(_AD_LEGACY_ERROR_COULD_NOT_SET_LINK, $blockObj->getVar('name')));
+       					$log->addWarning(XCube_Utils::formatMessage(_AD_LEGACY_ERROR_COULD_NOT_SET_LINK, $blockObj->getVar('name')));
 		        	}
     			}
    				$gpermHandler =& xoops_gethandler('groupperm');
@@ -525,7 +525,7 @@
         				$bperm->setVar('gperm_groupid', $group->getVar('groupid'));
         				$bperm->setNew();
         				if (!$gpermHandler->insert($bperm)) {
-        					$log->addWarn(XCube_Utils::formatMessage(_AD_LEGACY_ERROR_COULD_NOT_SET_BLOCK_PERMISSION, $blockObj->getVar('name')));
+        					$log->addWarning(XCube_Utils::formatMessage(_AD_LEGACY_ERROR_COULD_NOT_SET_BLOCK_PERMISSION, $blockObj->getVar('name')));
         				}
         			}
 				} else {
@@ -535,7 +535,7 @@
         				$bperm->setVar('gperm_groupid', $mygroup);
         				$bperm->setNew();
         				if (!$gpermHandler->insert($bperm)) {
-        					$log->addWarn(XCube_Utils::formatMessage(_AD_LEGACY_ERROR_COULD_NOT_SET_BLOCK_PERMISSION, $blockObj->getVar('name')));
+        					$log->addWarning(XCube_Utils::formatMessage(_AD_LEGACY_ERROR_COULD_NOT_SET_BLOCK_PERMISSION, $blockObj->getVar('name')));
     				    }
     				}
 				}


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