Skip to content

Commit

Permalink
replace deprecated function XCube_Utils::formatMessage to ::formatString
Browse files Browse the repository at this point in the history
  • Loading branch information
nao-pon committed Apr 20, 2015
1 parent e243232 commit 7326033
Show file tree
Hide file tree
Showing 21 changed files with 84 additions and 84 deletions.
Expand Up @@ -178,20 +178,20 @@ function _portConfigs()
$category =& $handler->get(XOOPS_CONF_USER);
if (is_object($category)) {
if ($handler->delete($category)) {
$this->mLog->add(XCube_Utils::formatMessage(_MI_XUPGRADE_MESSAGE_DELETED_CATEGORY, _MI_XUPGRADE_LANG_USER_CATEGORY));
$this->mLog->add(XCube_Utils::formatString(_MI_XUPGRADE_MESSAGE_DELETED_CATEGORY, _MI_XUPGRADE_LANG_USER_CATEGORY));
}
else {
$this->mLog->addError(XCube_Utils::formatMessage(_MI_XUPGRADE_ERROR_DELETED_CATEGORY, _MI_XUPGRADE_LANG_USER_CATEGORY));
$this->mLog->addError(XCube_Utils::formatString(_MI_XUPGRADE_ERROR_DELETED_CATEGORY, _MI_XUPGRADE_LANG_USER_CATEGORY));
}
}

$category =& $handler->get(XOOPS_CONF_METAFOOTER);
if (is_object($category)) {
if ($handler->delete($category)) {
$this->mLog->add(XCube_Utils::formatMessage(_MI_XUPGRADE_MESSAGE_DELETED_CATEGORY, _MI_XUPGRADE_LANG_METEFOOTER_CATEGORY));
$this->mLog->add(XCube_Utils::formatString(_MI_XUPGRADE_MESSAGE_DELETED_CATEGORY, _MI_XUPGRADE_LANG_METEFOOTER_CATEGORY));
}
else {
$this->mLog->addError(XCube_Utils::formatMessage(_MI_XUPGRADE_ERROR_DELETED_CATEGORY, _MI_XUPGRADE_LANG_METEFOOTER_CATEGORY));
$this->mLog->addError(XCube_Utils::formatString(_MI_XUPGRADE_ERROR_DELETED_CATEGORY, _MI_XUPGRADE_LANG_METEFOOTER_CATEGORY));
}
}
}
Expand Down Expand Up @@ -245,10 +245,10 @@ function _portTemplates()
$desc_tplfileArr[$key]->Source->set('tpl_source', $src_tplfile->Source->get('tpl_source'));

if ($handler->insert($desc_tplfileArr[$key])) {
$this->mLog->add(XCube_Utils::formatMessage(_MI_XUPGRADE_MESSAGE_PORTED_TEMPLATE, $src_tplfile->get('tpl_file'), $src_tplfile->get('tpl_tplset')));
$this->mLog->add(XCube_Utils::formatString(_MI_XUPGRADE_MESSAGE_PORTED_TEMPLATE, $src_tplfile->get('tpl_file'), $src_tplfile->get('tpl_tplset')));
}
else {
$this->mLog->add(XCube_Utils::formatMessage(_MI_XUPGRADE_ERROR_PORTED_TEMPLATE, $src_tplfile->get('tpl_file'), $src_tplfile->get('tpl_tplset')));
$this->mLog->add(XCube_Utils::formatString(_MI_XUPGRADE_ERROR_PORTED_TEMPLATE, $src_tplfile->get('tpl_file'), $src_tplfile->get('tpl_tplset')));
}
}
}
Expand Down Expand Up @@ -316,7 +316,7 @@ function &_getCubeConfigs($dirname)
function _copy(&$oldConfig, &$cubeConfig, $dirname)
{
if (!is_object($oldConfig) || !is_object($cubeConfig)) {
$this->mLog->addError(XCube_Utils::formatMessage(_MI_XUPGRADE_ERROR_CONFIGS_WRONG));
$this->mLog->addError(XCube_Utils::formatString(_MI_XUPGRADE_ERROR_CONFIGS_WRONG));
return;
}

Expand All @@ -326,17 +326,17 @@ function _copy(&$oldConfig, &$cubeConfig, $dirname)
}
$cubeConfig->setConfValueForInput($value);
if ($this->mConfigHandler->insertConfig($cubeConfig)) {
$this->mLog->add(XCube_Utils::formatMessage(_MI_XUPGRADE_MESSAGE_PORTED_CONFIG, $cubeConfig->get('conf_name'), 'user'));
$this->mLog->add(XCube_Utils::formatString(_MI_XUPGRADE_MESSAGE_PORTED_CONFIG, $cubeConfig->get('conf_name'), 'user'));
}
else {
$this->mLog->addError(XCube_Utils::formatMessage(_MI_XUPGRADE_ERROR_PORTED_CONFIG, $cubeConfig->get('conf_name'), 'user'));
$this->mLog->addError(XCube_Utils::formatString(_MI_XUPGRADE_ERROR_PORTED_CONFIG, $cubeConfig->get('conf_name'), 'user'));
}

if ($this->mConfigHandler->deleteConfig($oldConfig)) {
$this->mLog->add(XCube_Utils::formatMessage(_MI_XUPGRADE_MESSAGE_DELETED_CONFIG, $oldConfig->get('conf_name')));
$this->mLog->add(XCube_Utils::formatString(_MI_XUPGRADE_MESSAGE_DELETED_CONFIG, $oldConfig->get('conf_name')));
}
else {
$this->mLog->addError(XCube_Utils::formatMessage(_MI_XUPGRADE_ERROR_DELETED_CONFIG, $oldConfig->get('conf_name')));
$this->mLog->addError(XCube_Utils::formatString(_MI_XUPGRADE_ERROR_DELETED_CONFIG, $oldConfig->get('conf_name')));
}
}

Expand All @@ -358,7 +358,7 @@ function _fullCopy(&$oldConfigs, &$cubeConfigs, $dirname)
$this->_copy($oldConfigs[$key], $cubeConfigs[$key], $dirname);
}
else {
$this->mLog->addError(XCube_Utils::formatMessage(_MI_XUPGRADE_ERROR_FIND_CONFIG, $key, 'user'));
$this->mLog->addError(XCube_Utils::formatString(_MI_XUPGRADE_ERROR_FIND_CONFIG, $key, 'user'));
}
}
}
Expand All @@ -374,7 +374,7 @@ function _adjustModules()
foreach ($modules as $module) {
$module->set('isactive', 1);
$handler->insert($module);
$log->add(XCube_Utils::formatMessage(_MI_XUPGRADE_MESSAGE_ADJUST_MODULE_ISACTIVE, $module->get('dirname')));
$log->add(XCube_Utils::formatString(_MI_XUPGRADE_MESSAGE_ADJUST_MODULE_ISACTIVE, $module->get('dirname')));
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion html/modules/legacy/actions/MiscSslloginAction.class.php
Expand Up @@ -37,7 +37,7 @@ function executeViewIndex(&$controller, &$xoopsUser, &$render)
}

$render->setTemplateName("legacy_misc_ssllogin.html");
$render->setAttribute("message", XCube_Utils::formatMessage(_MD_LEGACY_MESSAGE_LOGIN_SUCCESS, $xoopsUser->get('uname')));
$render->setAttribute("message", XCube_Utils::formatString(_MD_LEGACY_MESSAGE_LOGIN_SUCCESS, $xoopsUser->get('uname')));
}
}

Expand Down
8 changes: 4 additions & 4 deletions html/modules/legacy/admin/actions/ImageUploadAction.class.php
Expand Up @@ -133,11 +133,11 @@ function _saveTargetImages(&$targetimages, $t_imgcat_id)
$save_file_name = uniqid( 'img' ) . '.' . $ext ;
$filehandle = fopen( XOOPS_UPLOAD_PATH.'/'.$save_file_name , "w" ) ;
if( ! $filehandle ) {
$this->_addErrorMessage(XCube_Utils::formatMessage(_AD_LEGACY_ERROR_COULD_NOT_SAVE_IMAGE_FILE, $file_name));
$this->_addErrorMessage(XCube_Utils::formatString(_AD_LEGACY_ERROR_COULD_NOT_SAVE_IMAGE_FILE, $file_name));
continue ;
}
if ( !@fwrite($filehandle, $targetimages[$i]['content']) ) {
$this->_addErrorMessage(XCube_Utils::formatMessage(_AD_LEGACY_ERROR_COULD_NOT_SAVE_IMAGE_FILE, $file_name));
$this->_addErrorMessage(XCube_Utils::formatString(_AD_LEGACY_ERROR_COULD_NOT_SAVE_IMAGE_FILE, $file_name));
@fclose( $filehandle ) ;
continue;
};
Expand All @@ -151,7 +151,7 @@ function _saveTargetImages(&$targetimages, $t_imgcat_id)
$image->set('imgcat_id', $t_imgcat_id);

if (!$imagehandler->insert($image)) {
$this->_addErrorMessage(XCube_Utils::formatMessage(_AD_LEGACY_ERROR_COULD_NOT_SAVE_IMAGE_FILE, $file_name));
$this->_addErrorMessage(XCube_Utils::formatString(_AD_LEGACY_ERROR_COULD_NOT_SAVE_IMAGE_FILE, $file_name));
}
unset($image);
} //end of for
Expand All @@ -178,7 +178,7 @@ function _saveTargetImages(&$targetimages, $t_imgcat_id)
$image->mImageBody->set('image_body', $targetimages[$i]['content']);

if (!$imagehandler->insert($image)) {
$this->_addErrorMessage(XCube_Utils::formatMessage(_AD_LEGACY_ERROR_COULD_NOT_SAVE_IMAGE_FILE, $file_name));
$this->_addErrorMessage(XCube_Utils::formatString(_AD_LEGACY_ERROR_COULD_NOT_SAVE_IMAGE_FILE, $file_name));
}
unset($image);
} //end of for
Expand Down
Expand Up @@ -126,11 +126,11 @@ function _saveSmilesImages(&$smilesimages)
$save_file_name = uniqid( 'smil' ) . '.' . $ext ;
$filehandle = fopen( XOOPS_UPLOAD_PATH.'/'.$save_file_name , "w" ) ;
if( ! $filehandle ) {
$this->_addErrorMessage(XCube_Utils::formatMessage(_AD_LEGACY_ERROR_COULD_NOT_SAVE_SMILES_FILE, $file_name));
$this->_addErrorMessage(XCube_Utils::formatString(_AD_LEGACY_ERROR_COULD_NOT_SAVE_SMILES_FILE, $file_name));
continue ;
}
if ( !@fwrite($filehandle, $smilesimages[$i]['content']) ) {
$this->_addErrorMessage(XCube_Utils::formatMessage(_AD_LEGACY_ERROR_COULD_NOT_SAVE_SMILES_FILE, $file_name));
$this->_addErrorMessage(XCube_Utils::formatString(_AD_LEGACY_ERROR_COULD_NOT_SAVE_SMILES_FILE, $file_name));
@fclose( $filehandle ) ;
continue;
};
Expand All @@ -143,7 +143,7 @@ function _saveSmilesImages(&$smilesimages)
$smiles->set('display', 1);

if (!$smileshandler->insert($smiles)) {
$this->_addErrorMessage(XCube_Utils::formatMessage(_AD_LEGACY_ERROR_COULD_NOT_SAVE_SMILES_FILE, $file_name));
$this->_addErrorMessage(XCube_Utils::formatString(_AD_LEGACY_ERROR_COULD_NOT_SAVE_SMILES_FILE, $file_name));
}
unset($smiles);
}
Expand Down
48 changes: 24 additions & 24 deletions html/modules/legacy/admin/class/ModuleInstallUtils.class.php
Expand Up @@ -174,7 +174,7 @@ function installSQLAutomatically(&$module, &$log)
$scanner->setDirname($module->get('dirname'));

if (!$scanner->loadFile($sqlfilepath)) {
$log->addError(XCube_Utils::formatMessage(_AD_LEGACY_ERROR_SQL_FILE_NOT_FOUND, $sqlfile));
$log->addError(XCube_Utils::formatString(_AD_LEGACY_ERROR_SQL_FILE_NOT_FOUND, $sqlfile));
return false;
}

Expand Down Expand Up @@ -322,10 +322,10 @@ function installModuleTemplate($module, $template, &$log)
$tplfile->setVar('tpl_desc', $description, true);

if ($tplHandler->insert($tplfile)) {
$log->addReport(XCube_Utils::formatMessage(_AD_LEGACY_MESSAGE_TEMPLATE_INSTALLED, $fileName));
$log->addReport(XCube_Utils::formatString(_AD_LEGACY_MESSAGE_TEMPLATE_INSTALLED, $fileName));
}
else {
$log->addError(XCube_Utils::formatMessage(_AD_LEGACY_ERROR_COULD_NOT_INSTALL_TEMPLATE, $fileName));
$log->addError(XCube_Utils::formatString(_AD_LEGACY_ERROR_COULD_NOT_INSTALL_TEMPLATE, $fileName));
return false;
}
}
Expand Down Expand Up @@ -369,7 +369,7 @@ function _uninstallAllOfModuleTemplates(&$module, $tplset, &$log)

foreach ($delTemplates as $tpl) {
if (!$tplHandler->delete($tpl)) {
$log->addError(XCube_Utils::formatMessage(_AD_LEGACY_ERROR_TEMPLATE_UNINSTALLED, $tpl->get('tpl_file')));
$log->addError(XCube_Utils::formatString(_AD_LEGACY_ERROR_TEMPLATE_UNINSTALLED, $tpl->get('tpl_file')));
}
}
}
Expand Down Expand Up @@ -548,12 +548,12 @@ function installBlock(&$module, &$blockObj, &$block, &$log)
$autolink = true;
}
if (!$blockHandler->insert($blockObj, $autolink)) {
$log->addError(XCube_Utils::formatMessage(_AD_LEGACY_ERROR_COULD_NOT_INSTALL_BLOCK, $blockObj->getVar('name')));
$log->addError(XCube_Utils::formatString(_AD_LEGACY_ERROR_COULD_NOT_INSTALL_BLOCK, $blockObj->getVar('name')));

return false;
}
else {
$log->addReport(XCube_Utils::formatMessage(_AD_LEGACY_MESSAGE_BLOCK_INSTALLED, $blockObj->getVar('name')));
$log->addReport(XCube_Utils::formatString(_AD_LEGACY_MESSAGE_BLOCK_INSTALLED, $blockObj->getVar('name')));

$tplHandler =& xoops_gethandler('tplfile');

Expand All @@ -566,7 +566,7 @@ function installBlock(&$module, &$blockObj, &$block, &$log)
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->addWarning(XCube_Utils::formatMessage(_AD_LEGACY_ERROR_COULD_NOT_SET_LINK, $blockObj->getVar('name')));
$log->addWarning(XCube_Utils::formatString(_AD_LEGACY_ERROR_COULD_NOT_SET_LINK, $blockObj->getVar('name')));
}
}
$gpermHandler =& xoops_gethandler('groupperm');
Expand All @@ -582,7 +582,7 @@ function installBlock(&$module, &$blockObj, &$block, &$log)
$bperm->setVar('gperm_groupid', $group->getVar('groupid'));
$bperm->setNew();
if (!$gpermHandler->insert($bperm)) {
$log->addWarning(XCube_Utils::formatMessage(_AD_LEGACY_ERROR_COULD_NOT_SET_BLOCK_PERMISSION, $blockObj->getVar('name')));
$log->addWarning(XCube_Utils::formatString(_AD_LEGACY_ERROR_COULD_NOT_SET_BLOCK_PERMISSION, $blockObj->getVar('name')));
}
}
} else {
Expand All @@ -592,7 +592,7 @@ function installBlock(&$module, &$blockObj, &$block, &$log)
$bperm->setVar('gperm_groupid', $mygroup);
$bperm->setNew();
if (!$gpermHandler->insert($bperm)) {
$log->addWarning(XCube_Utils::formatMessage(_AD_LEGACY_ERROR_COULD_NOT_SET_BLOCK_PERMISSION, $blockObj->getVar('name')));
$log->addWarning(XCube_Utils::formatString(_AD_LEGACY_ERROR_COULD_NOT_SET_BLOCK_PERMISSION, $blockObj->getVar('name')));
}
}
}
Expand All @@ -616,7 +616,7 @@ function uninstallBlock(&$block, &$log)
{
$blockHandler =& xoops_gethandler('block');
$blockHandler->delete($block);
$log->addReport(XCube_Utils::formatMessage(_AD_LEGACY_MESSAGE_UNINSTALLATION_BLOCK_SUCCESSFUL, $block->get('name')));
$log->addReport(XCube_Utils::formatString(_AD_LEGACY_MESSAGE_UNINSTALLATION_BLOCK_SUCCESSFUL, $block->get('name')));

//
// Deletes permissions
Expand Down Expand Up @@ -668,11 +668,11 @@ function installBlockTemplate(&$block, &$module, &$log)
$tplfile->set('tpl_lastmodified', time());

if ($tplHandler->insert($tplfile)) {
$log->addReport(XCube_Utils::formatMessage(_AD_LEGACY_MESSAGE_BLOCK_TEMPLATE_INSTALLED, $block->get('template')));
$log->addReport(XCube_Utils::formatString(_AD_LEGACY_MESSAGE_BLOCK_TEMPLATE_INSTALLED, $block->get('template')));
return true;
}
else {
$log->addError(XCube_Utils::formatMessage(_AD_LEGACY_ERROR_BLOCK_TEMPLATE_INSTALL, $block->get('name')));
$log->addError(XCube_Utils::formatString(_AD_LEGACY_ERROR_BLOCK_TEMPLATE_INSTALL, $block->get('name')));
return false;
}
}
Expand Down Expand Up @@ -768,10 +768,10 @@ function installPreferenceByInfo(&$info, &$module, &$log)
}

if ($handler->insertConfig($config)) {
$log->addReport(XCube_Utils::formatMessage(_AD_LEGACY_MESSAGE_INSERT_CONFIG, $config->get('conf_name')));
$log->addReport(XCube_Utils::formatString(_AD_LEGACY_MESSAGE_INSERT_CONFIG, $config->get('conf_name')));
}
else {
$log->addError(XCube_Utils::formatMessage(_AD_LEGACY_ERROR_COULD_NOT_INSERT_CONFIG, $config->get('conf_name')));
$log->addError(XCube_Utils::formatString(_AD_LEGACY_ERROR_COULD_NOT_INSERT_CONFIG, $config->get('conf_name')));
}
}

Expand Down Expand Up @@ -1034,10 +1034,10 @@ function updateBlockByInfo(&$info, &$module, &$log)
$blockArr[$idx]->set('template', $info->mTemplate);

if ($handler->insert($blockArr[$idx])) {
$log->addReport(XCube_Utils::formatMessage('Update {0} block successfully.', $blockArr[$idx]->get('name')));
$log->addReport(XCube_Utils::formatString('Update {0} block successfully.', $blockArr[$idx]->get('name')));
}
else {
$log->addError(XCube_Utils::formatMessage('Could not update {0} block.', $blockArr[$idx]->get('name')));
$log->addError(XCube_Utils::formatString('Could not update {0} block.', $blockArr[$idx]->get('name')));
}

Legacy_ModuleInstallUtils::clearBlockTemplateForUpdate($blockArr[$idx], $module, $log);
Expand Down Expand Up @@ -1110,10 +1110,10 @@ function updatePreferenceByInfo(&$info, &$module, &$log)
}

if ($handler->insertConfig($config)) {
$log->addReport(XCube_Utils::formatMessage("Preference '{0}' is updateded.", $config->get('conf_name')));
$log->addReport(XCube_Utils::formatString("Preference '{0}' is updateded.", $config->get('conf_name')));
}
else {
$log->addError(XCube_Utils::formatMessage("Could not update preference '{0}'.", $config->get('conf_name')));
$log->addError(XCube_Utils::formatString("Could not update preference '{0}'.", $config->get('conf_name')));
}
}

Expand All @@ -1138,7 +1138,7 @@ function updatePreferenceOrderByInfo(&$info, &$module, &$log)
$config->set('conf_order', $info->mOrder);

if (!$handler->insertConfig($config)) {
$log->addError(XCube_Utils::formatMessage("Could not update the order of preference '{0}'.", $config->get('conf_name')));
$log->addError(XCube_Utils::formatString("Could not update the order of preference '{0}'.", $config->get('conf_name')));
}
}

Expand All @@ -1161,11 +1161,11 @@ function installBlockByInfo(&$info, &$module, &$log)
$block->set('c_type', 1);

if (!$handler->insert($block)) {
$log->addError(XCube_Utils::formatMessage(_AD_LEGACY_ERROR_COULD_NOT_INSTALL_BLOCK, $block->get('name')));
$log->addError(XCube_Utils::formatString(_AD_LEGACY_ERROR_COULD_NOT_INSTALL_BLOCK, $block->get('name')));
return false;
}
else {
$log->addReport(XCube_Utils::formatMessage(_AD_LEGACY_MESSAGE_BLOCK_INSTALLED, $block->get('name')));
$log->addReport(XCube_Utils::formatString(_AD_LEGACY_MESSAGE_BLOCK_INSTALLED, $block->get('name')));

Legacy_ModuleInstallUtils::installBlockTemplate($block, $module, $log);

Expand All @@ -1187,7 +1187,7 @@ function uninstallBlockByFuncNum($func_num, &$module, &$log)
$blockArr =& $handler->getObjects($criteria);
foreach (array_keys($blockArr) as $idx) {
if ($handler->delete($blockArr[$idx])) {
$log->addReport(XCube_Utils::formatMessage(_AD_LEGACY_MESSAGE_UNINSTALLATION_BLOCK_SUCCESSFUL, $blockArr[$idx]->get('name')));
$log->addReport(XCube_Utils::formatString(_AD_LEGACY_MESSAGE_UNINSTALLATION_BLOCK_SUCCESSFUL, $blockArr[$idx]->get('name')));
}
else {
// Uninstall fail
Expand Down Expand Up @@ -1253,10 +1253,10 @@ function uninstallPreferenceByOrder($order, &$module, &$log)

foreach (array_keys($configArr) as $idx) {
if ($handler->deleteConfig($configArr[$idx])) {
$log->addReport(XCube_Utils::formatMessage("Delete preference '{0}'.", $configArr[$idx]->get('conf_name')));
$log->addReport(XCube_Utils::formatString("Delete preference '{0}'.", $configArr[$idx]->get('conf_name')));
}
else {
$log->addError(XCube_Utils::formatMessage("Could not delete preference '{0}'.", $configArr[$idx]->get('conf_name')));
$log->addError(XCube_Utils::formatString("Could not delete preference '{0}'.", $configArr[$idx]->get('conf_name')));
}
}
}
Expand Down
8 changes: 4 additions & 4 deletions html/modules/legacy/admin/class/ModuleInstaller.class.php
Expand Up @@ -196,7 +196,7 @@ function _processScript()
$funcName = 'xoops_module_install_' . $this->_mXoopsModule->get('dirname');

if (!preg_match("/^[a-zA-Z_][a-zA-Z0-9_]*$/", $funcName)) {
$this->mLog->addError(XCUbe_Utils::formatMessage(_AD_LEGACY_ERROR_FAILED_TO_EXECUTE_CALLBACK, $funcName));
$this->mLog->addError(XCube_Utils::formatString(_AD_LEGACY_ERROR_FAILED_TO_EXECUTE_CALLBACK, $funcName));
return;
}

Expand All @@ -206,7 +206,7 @@ function _processScript()

$result = $funcName($this->_mXoopsModule, new XCube_Ref($this->mLog));
if (!$result) {
$this->mLog->addError(XCUbe_Utils::formatMessage(_AD_LEGACY_ERROR_FAILED_TO_EXECUTE_CALLBACK, $funcName));
$this->mLog->addError(XCube_Utils::formatString(_AD_LEGACY_ERROR_FAILED_TO_EXECUTE_CALLBACK, $funcName));
}
}
}
Expand All @@ -215,10 +215,10 @@ function _processScript()
function _processReport()
{
if (!$this->mLog->hasError()) {
$this->mLog->add(XCube_Utils::formatMessage(_AD_LEGACY_MESSAGE_INSTALLATION_MODULE_SUCCESSFUL, $this->_mXoopsModule->get('name')));
$this->mLog->add(XCube_Utils::formatString(_AD_LEGACY_MESSAGE_INSTALLATION_MODULE_SUCCESSFUL, $this->_mXoopsModule->get('name')));
}
else {
$this->mLog->addError(XCube_Utils::formatMessage(_AD_LEGACY_ERROR_INSTALLATION_MODULE_FAILURE, $this->_mXoopsModule->get('name')));
$this->mLog->addError(XCube_Utils::formatString(_AD_LEGACY_ERROR_INSTALLATION_MODULE_FAILURE, $this->_mXoopsModule->get('name')));
}
}

Expand Down

0 comments on commit 7326033

Please sign in to comment.