git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8525 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen 2008-04-21 15:02:22 +00:00
parent 2c2da40f1b
commit cc78a53023
2 changed files with 7 additions and 2 deletions

View file

@ -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>

View file

@ -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;