Skip to content

Commit

Permalink
Wrong mail template and missing doc for admin emailing of database ba…
Browse files Browse the repository at this point in the history
…ckups

Signed-off-by: emanuele <emanuele45@gmail.com>
  • Loading branch information
emanuele45 committed Nov 22, 2014
1 parent 74ac8f4 commit c9ba71e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sources/admin/Maintenance.controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -1005,7 +1005,7 @@ public function action_backup_display()
{
require_once(SUBSDIR . '/Admin.subs.php');

emailAdmins($webmaster_email, array(
emailAdmins('admin_backup_database', array(
'BAK_REALNAME' => $user_info['member_name']
));
logAction('database_backup', array('member' => $user_info['id']), 'admin');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -858,7 +858,7 @@

/**
@additional_params: admin_backup_database
REALNAME:
BAK_REALNAME: the name of the user doing the backup
@description:
*/
$txt['admin_backup_database_subject'] = 'A database backup has been taken';
Expand Down

0 comments on commit c9ba71e

Please sign in to comment.