mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
[ticket/15699] Add information to logs
PHPBB3-15699
This commit is contained in:
@@ -259,10 +259,11 @@ class acp_storage
|
||||
$this->update_storage_config($storage_name);
|
||||
}
|
||||
|
||||
$storages = array_keys($this->state['storages']);
|
||||
$this->state = false;
|
||||
$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());
|
||||
}
|
||||
|
||||
|
@@ -768,7 +768,7 @@ $lang = array_merge($lang, array(
|
||||
'LOG_STYLE_EDIT_DETAILS' => '<strong>Edited 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_PHPBB' => '<strong>Updated phpBB from version %1$s to version %2$s</strong>',
|
||||
|
Reference in New Issue
Block a user