summaryrefslogtreecommitdiffstats
path: root/apps/admin_audit/lib/auditlogger.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/admin_audit/lib/auditlogger.php')
-rw-r--r--apps/admin_audit/lib/auditlogger.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/admin_audit/lib/auditlogger.php b/apps/admin_audit/lib/auditlogger.php
index f7dae10701f..050dc9c475d 100644
--- a/apps/admin_audit/lib/auditlogger.php
+++ b/apps/admin_audit/lib/auditlogger.php
@@ -178,7 +178,7 @@ class AuditLogger {
* connect to trash bin hooks
*/
private function trashbinHooks() {
- $trashActions = new Trashbin($this->logger, $this->userSession);
+ $trashActions = new Trashbin($this->logger);
Util::connectHook('\OCP\Trashbin', 'preDelete', $trashActions, 'delete');
Util::connectHook('\OCA\Files_Trashbin\Trashbin', 'post_restore', $trashActions, 'restore');
}