Version 2.0.2

This commit is contained in:
dmzx
2017-12-09 08:09:57 +01:00
parent 6405c7c7ab
commit 0addbac5c0
92 changed files with 1051 additions and 776 deletions

View File

@@ -52,7 +52,7 @@ class ext extends \phpbb\extension\base
}
$php_ext = $this->container->getParameter('core.php_ext');
$error_msg = $lang->lang('MCHAT_30X_REMNANTS', $table_prefix, implode(', ', $module_ids)) . adm_back_link(append_sid('index.' . $php_ext, 'i=acp_extensions&mode=main'));
$error_msg = $lang->lang('MCHAT_30X_REMNANTS', $table_prefix, implode($lang->lang('COMMA_SEPARATOR'), $module_ids)) . adm_back_link(append_sid('index.' . $php_ext, 'i=acp_extensions&mode=main'));
trigger_error($error_msg, E_USER_WARNING);
}
@@ -65,7 +65,7 @@ class ext extends \phpbb\extension\base
* This method checks whether the phpbb_modules table contains remnants of the 3.0 MOD.
* It returns an array of the modules' IDs, or an empty array if no old modules are found.
*
* @var string $table_prefix
* @param string $table_prefix
* @return array
*/
protected function get_old_module_ids($table_prefix)
@@ -84,7 +84,7 @@ class ext extends \phpbb\extension\base
FROM ' . $table_prefix . 'modules
WHERE ' . $db->sql_in_set('module_langname', $mchat_30x_module_langnames);
$result = $db->sql_query($sql);
$rows = $db->sql_fetchrowset();
$rows = $db->sql_fetchrowset($result);
$db->sql_freeresult($result);
$module_ids = array();