mirror of
https://github.com/phpbb/phpbb.git
synced 2025-02-13 03:54:57 +01:00
Some changes due to #10980.
git-svn-id: file:///svn/phpbb/trunk@7603 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
e0ca9946b9
commit
770dab2ca8
@ -1553,13 +1553,23 @@ class install_convert extends module
|
||||
|
||||
if ($final_jump == 1)
|
||||
{
|
||||
$db->sql_return_on_error(true);
|
||||
update_topics_posted();
|
||||
|
||||
$template->assign_block_vars('checks', array(
|
||||
'TITLE' => $user->lang['UPDATE_TOPICS_POSTED'],
|
||||
'RESULT' => $user->lang['DONE'],
|
||||
));
|
||||
|
||||
|
||||
if ($db->sql_error_triggered)
|
||||
{
|
||||
$template->assign_vars(array(
|
||||
'S_ERROR_BOX' => true,
|
||||
'ERROR_TITLE' => $user->lang['UPDATE_TOPICS_POSTED'],
|
||||
'ERROR_MSG' => $user->lang['UPDATE_TOPICS_POSTED_ERR'],
|
||||
));
|
||||
}
|
||||
$db->sql_return_on_error(false);
|
||||
|
||||
$this->finish_conversion();
|
||||
return;
|
||||
}
|
||||
|
@ -343,6 +343,7 @@ $lang = array_merge($lang, array(
|
||||
'UNAVAILABLE' => 'Unavailable',
|
||||
'UNWRITABLE' => 'Unwritable',
|
||||
'UPDATE_TOPICS_POSTED' => 'Generating topics posted information',
|
||||
'UPDATE_TOPICS_POSTED_ERR' => 'An error occured while generating topics posted information. You can retry this step in the ACP after the conversion process is completed.',
|
||||
'VERSION' => 'Version',
|
||||
|
||||
'WELCOME_INSTALL' => 'Welcome to phpBB3 Installation',
|
||||
|
Loading…
x
Reference in New Issue
Block a user