1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 05:50:42 +02:00

[ticket/15699] Add information to logs

PHPBB3-15699
This commit is contained in:
Rubén Calvo
2018-08-25 18:01:58 +02:00
committed by Ruben Calvo
parent 3a25c0222b
commit 2c9f9fa75e
2 changed files with 3 additions and 2 deletions

View File

@@ -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());
}