aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Accounts
diff options
context:
space:
mode:
authorCarl Schwan <carl@carlschwan.eu>2022-04-19 13:05:38 +0200
committerCôme Chilliet (Rebase PR Action) <come-nc@users.noreply.github.com>2022-09-29 15:15:28 +0000
commit92a5a8f075fe5e6b72037cc4a668090d3a8cacf5 (patch)
tree198134dd6411f82a077a70b37bec735024437e1d /lib/private/Accounts
parentb4708fb9f003a306edcfe0346e25f9583c4c162a (diff)
downloadnextcloud-server-92a5a8f075fe5e6b72037cc4a668090d3a8cacf5.tar.gz
nextcloud-server-92a5a8f075fe5e6b72037cc4a668090d3a8cacf5.zip
Cleanup tags and Share component
- Port to LoggerInterface - Use IDBConnection and IQueryBuilder instead of raw SQL and OC_DB - Use IEventListener instead of hooks - Remove the now unused OC_DB and OC_DB_StatementWrapper legacy utils Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Diffstat (limited to 'lib/private/Accounts')
-rw-r--r--lib/private/Accounts/Hooks.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/private/Accounts/Hooks.php b/lib/private/Accounts/Hooks.php
index 93918284180..b440bc394d6 100644
--- a/lib/private/Accounts/Hooks.php
+++ b/lib/private/Accounts/Hooks.php
@@ -32,6 +32,9 @@ use OCP\IUser;
use OCP\User\Events\UserChangedEvent;
use Psr\Log\LoggerInterface;
+/**
+ * @template-implements IEventListener<UserChangedEvent>
+ */
class Hooks implements IEventListener {
/** @var IAccountManager */