mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 05:18:52 +00:00
[ticket/15699] Add information to logs
PHPBB3-15699
This commit is contained in:
parent
3a25c0222b
commit
2c9f9fa75e
2 changed files with 3 additions and 2 deletions
|
@ -259,10 +259,11 @@ class acp_storage
|
||||||
$this->update_storage_config($storage_name);
|
$this->update_storage_config($storage_name);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$storages = array_keys($this->state['storages']);
|
||||||
$this->state = false;
|
$this->state = false;
|
||||||
$this->save_state();
|
$this->save_state();
|
||||||
|
|
||||||
$this->log->add('admin', $this->user->data['user_id'], $this->user->ip, 'LOG_STORAGE_UPDATE', false); // todo
|
$this->log->add('admin', $this->user->data['user_id'], $this->user->ip, 'LOG_STORAGE_UPDATE', false, $storages);
|
||||||
trigger_error($this->user->lang('STORAGE_UPDATE_SUCCESSFUL') . adm_back_link($this->u_action) . $this->close_popup_js());
|
trigger_error($this->user->lang('STORAGE_UPDATE_SUCCESSFUL') . adm_back_link($this->u_action) . $this->close_popup_js());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -768,7 +768,7 @@ $lang = array_merge($lang, array(
|
||||||
'LOG_STYLE_EDIT_DETAILS' => '<strong>Edited style</strong><br />» %s',
|
'LOG_STYLE_EDIT_DETAILS' => '<strong>Edited style</strong><br />» %s',
|
||||||
'LOG_STYLE_EXPORT' => '<strong>Exported style</strong><br />» %s',
|
'LOG_STYLE_EXPORT' => '<strong>Exported style</strong><br />» %s',
|
||||||
|
|
||||||
'LOG_STORAGE_UPDATE' => '<strong>Storage updated</strong>',
|
'LOG_STORAGE_UPDATE' => '<strong>Storage updated</strong><br />» %s',
|
||||||
|
|
||||||
'LOG_UPDATE_DATABASE' => '<strong>Updated Database from version %1$s to version %2$s</strong>',
|
'LOG_UPDATE_DATABASE' => '<strong>Updated Database from version %1$s to version %2$s</strong>',
|
||||||
'LOG_UPDATE_PHPBB' => '<strong>Updated phpBB from version %1$s to version %2$s</strong>',
|
'LOG_UPDATE_PHPBB' => '<strong>Updated phpBB from version %1$s to version %2$s</strong>',
|
||||||
|
|
Loading…
Add table
Reference in a new issue