aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorDavid M <davidmj@users.sourceforge.net>2007-05-11 21:22:28 +0000
committerDavid M <davidmj@users.sourceforge.net>2007-05-11 21:22:28 +0000
commitc1c2f29031e1107530f83d71b7dc6a54ac1b02aa (patch)
tree5089d36c563d1988f55d4280dea9f00878e19bf9 /phpBB
parent46a58a7adde0bf5158c5b3164a917893bcb4f6c7 (diff)
downloadforums-c1c2f29031e1107530f83d71b7dc6a54ac1b02aa.tar
forums-c1c2f29031e1107530f83d71b7dc6a54ac1b02aa.tar.gz
forums-c1c2f29031e1107530f83d71b7dc6a54ac1b02aa.tar.bz2
forums-c1c2f29031e1107530f83d71b7dc6a54ac1b02aa.tar.xz
forums-c1c2f29031e1107530f83d71b7dc6a54ac1b02aa.zip
#10785
git-svn-id: file:///svn/phpbb/trunk@7531 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB')
-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',