summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'UserMerge/UserMergeLogger.php')
-rw-r--r--UserMerge/UserMergeLogger.php44
1 files changed, 0 insertions, 44 deletions
diff --git a/UserMerge/UserMergeLogger.php b/UserMerge/UserMergeLogger.php
deleted file mode 100644
index 89f38ac4..00000000
--- a/UserMerge/UserMergeLogger.php
+++ /dev/null
@@ -1,44 +0,0 @@
-<?php
-
-class UserMergeLogger implements IUserMergeLogger {
-
- /**
- * Adds a merge log entry
- *
- * @todo Stop using this deprecated format
- * @param User $performer
- * @param User $oldUser
- * @param User $newUser
- */
- public function addMergeEntry( User $performer, User $oldUser, User $newUser ) {
- $log = new LogPage( 'usermerge' );
- $log->addEntry(
- 'mergeuser',
- $performer->getUserPage(),
- '',
- [
- $oldUser->getName(), $oldUser->getId(),
- $newUser->getName(), $newUser->getId()
- ],
- $performer
- );
- }
-
- /**
- * Adds a user deletion log entry
- *
- * @todo Stop using this deprecated format
- * @param User $perfomer
- * @param User $oldUser
- */
- public function addDeleteEntry( User $perfomer, User $oldUser ) {
- $log = new LogPage( 'usermerge' );
- $log->addEntry(
- 'deleteuser',
- $perfomer->getUserPage(),
- '',
- [ $oldUser->getName(), $oldUser->getId() ],
- $perfomer
- );
- }
-}