mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8525 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
2c2da40f1b
commit
cc78a53023
2 changed files with 7 additions and 2 deletions
|
@ -101,6 +101,7 @@
|
||||||
<li>[Change] For determining the maximum number of private messages in one box, use the biggest value from all groups the user is a member of (Bug #24665)</li>
|
<li>[Change] For determining the maximum number of private messages in one box, use the biggest value from all groups the user is a member of (Bug #24665)</li>
|
||||||
<li>[Fix] Correctly determine safe mode for temp file creation in functions_upload.php (Bug #23525)</li>
|
<li>[Fix] Correctly determine safe mode for temp file creation in functions_upload.php (Bug #23525)</li>
|
||||||
<li>[Fix] Correctly sort by rank in memberlist (Bug #24435)</li>
|
<li>[Fix] Correctly sort by rank in memberlist (Bug #24435)</li>
|
||||||
|
<li>[Fix] Purge cache after database restore (Bug #24245)</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<a name="v300"></a><h3>1.ii. Changes since 3.0.0</h3>
|
<a name="v300"></a><h3>1.ii. Changes since 3.0.0</h3>
|
||||||
|
|
|
@ -25,7 +25,7 @@ class acp_database
|
||||||
|
|
||||||
function main($id, $mode)
|
function main($id, $mode)
|
||||||
{
|
{
|
||||||
global $db, $user, $auth, $template, $table_prefix;
|
global $cache, $db, $user, $auth, $template, $table_prefix;
|
||||||
global $config, $phpbb_root_path, $phpbb_admin_path, $phpEx;
|
global $config, $phpbb_root_path, $phpbb_admin_path, $phpEx;
|
||||||
|
|
||||||
$user->add_lang('acp/database');
|
$user->add_lang('acp/database');
|
||||||
|
@ -159,12 +159,13 @@ class acp_database
|
||||||
|
|
||||||
$extractor->write_end();
|
$extractor->write_end();
|
||||||
|
|
||||||
|
add_log('admin', 'LOG_DB_BACKUP');
|
||||||
|
|
||||||
if ($download == true)
|
if ($download == true)
|
||||||
{
|
{
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
add_log('admin', 'LOG_DB_BACKUP');
|
|
||||||
trigger_error($user->lang['BACKUP_SUCCESS'] . adm_back_link($this->u_action));
|
trigger_error($user->lang['BACKUP_SUCCESS'] . adm_back_link($this->u_action));
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
@ -399,6 +400,9 @@ class acp_database
|
||||||
|
|
||||||
$close($fp);
|
$close($fp);
|
||||||
|
|
||||||
|
// Purge the cache due to updated data
|
||||||
|
$cache->purge();
|
||||||
|
|
||||||
add_log('admin', 'LOG_DB_RESTORE');
|
add_log('admin', 'LOG_DB_RESTORE');
|
||||||
trigger_error($user->lang['RESTORE_SUCCESS'] . adm_back_link($this->u_action));
|
trigger_error($user->lang['RESTORE_SUCCESS'] . adm_back_link($this->u_action));
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Reference in a new issue