Browse Source

Don't try to generate logs for chunking paths

Signed-off-by: Joas Schilling <coding@schilljs.com>
tags/v13.0.0beta1
Joas Schilling 7 years ago
parent
commit
97e41015b3
No account linked to committer's email address
1 changed files with 8 additions and 0 deletions
  1. 8
    0
      apps/admin_audit/lib/actions/files.php

+ 8
- 0
apps/admin_audit/lib/actions/files.php View File

@@ -65,6 +65,10 @@ class Files extends Action {
* @param array $params
*/
public function create(array $params) {
if ($params['path'] === '/' || $params['path'] === '' || $params['path'] === null) {
return;
}

$this->log(
'File created: "%s"',
$params,
@@ -96,6 +100,10 @@ class Files extends Action {
* @param array $params
*/
public function write(array $params) {
if ($params['path'] === '/' || $params['path'] === '' || $params['path'] === null) {
return;
}

$this->log(
'File written to: "%s"',
$params,

Loading…
Cancel
Save