aboutsummaryrefslogtreecommitdiffstats
path: root/apps/admin_audit/lib/Actions/UserManagement.php
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2024-09-10 14:24:55 +0200
committerCôme Chilliet <come.chilliet@nextcloud.com>2024-09-10 14:48:15 +0200
commit957ac81a56579757826a90f6ca3c30cfd427dabb (patch)
treef617609f99e33c4f60430d526ea59b264ab3f82e /apps/admin_audit/lib/Actions/UserManagement.php
parentec37338d733916977c595a00fba62fcf1892ddd2 (diff)
downloadnextcloud-server-957ac81a56579757826a90f6ca3c30cfd427dabb.tar.gz
nextcloud-server-957ac81a56579757826a90f6ca3c30cfd427dabb.zip
fix(admin_audit): Remove now unused methods and classes
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'apps/admin_audit/lib/Actions/UserManagement.php')
-rw-r--r--apps/admin_audit/lib/Actions/UserManagement.php42
1 files changed, 0 insertions, 42 deletions
diff --git a/apps/admin_audit/lib/Actions/UserManagement.php b/apps/admin_audit/lib/Actions/UserManagement.php
deleted file mode 100644
index 5b8b11f196b..00000000000
--- a/apps/admin_audit/lib/Actions/UserManagement.php
+++ /dev/null
@@ -1,42 +0,0 @@
-<?php
-
-declare(strict_types=1);
-/**
- * SPDX-FileCopyrightText: 2016 Nextcloud GmbH and Nextcloud contributors
- * SPDX-License-Identifier: AGPL-3.0-or-later
- */
-namespace OCA\AdminAudit\Actions;
-
-/**
- * Class UserManagement logs all user management related actions.
- *
- * @package OCA\AdminAudit\Actions
- */
-class UserManagement extends Action {
-
- /**
- * Log assignments of users (typically user backends)
- *
- * @param string $uid
- */
- public function assign(string $uid): void {
- $this->log(
- 'UserID assigned: "%s"',
- [ 'uid' => $uid ],
- [ 'uid' ]
- );
- }
-
- /**
- * Log unassignments of users (typically user backends, no data removed)
- *
- * @param string $uid
- */
- public function unassign(string $uid): void {
- $this->log(
- 'UserID unassigned: "%s"',
- [ 'uid' => $uid ],
- [ 'uid' ]
- );
- }
-}