aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpBB/includes/acp/acp_database.php1
-rw-r--r--phpBB/language/en/acp/common.php3
2 files changed, 3 insertions, 1 deletions
diff --git a/phpBB/includes/acp/acp_database.php b/phpBB/includes/acp/acp_database.php
index 051362af66..c967274a36 100644
--- a/phpBB/includes/acp/acp_database.php
+++ b/phpBB/includes/acp/acp_database.php
@@ -226,6 +226,7 @@ class acp_database
if (confirm_box(true))
{
unlink($file_name);
+ add_log('admin', 'LOG_DB_DELETE');
trigger_error($user->lang['BACKUP_DELETE'] . adm_back_link($this->u_action));
}
else
diff --git a/phpBB/language/en/acp/common.php b/phpBB/language/en/acp/common.php
index d57ba84ca0..87591196ba 100644
--- a/phpBB/language/en/acp/common.php
+++ b/phpBB/language/en/acp/common.php
@@ -483,7 +483,8 @@ $lang = array_merge($lang, array(
'LOG_DISALLOW_DELETE' => '<strong>Deleted disallowed username</strong>',
'LOG_DB_BACKUP' => '<strong>Database backup</strong>',
- 'LOG_DB_RESTORE' => '<strong>Database restore</strong>',
+ 'LOG_DB_DELETE' => '<strong>Database restored</strong>',
+ 'LOG_DB_RESTORE' => '<strong>Database deleted</strong>',
'LOG_DOWNLOAD_EXCLUDE_IP' => '<strong>Excluded IP/hostname from download list</strong><br />» %s',
'LOG_DOWNLOAD_IP' => '<strong>Added IP/hostname to download list</strong><br />» %s',