summaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-01-29 15:25:08 +0100
committerGitHub <noreply@github.com>2018-01-29 15:25:08 +0100
commit01482b32a171bb8529bc8baacbe764107e52e14c (patch)
treec129fb9971d57a0685b84bd97d4235f84231eb19 /lib/public
parent6d86dcb2654739bac62948c94a076c101b1e637d (diff)
parenteb51f06a3b9e42686f462b9f7a56411d3fe6cb27 (diff)
downloadnextcloud-server-01482b32a171bb8529bc8baacbe764107e52e14c.tar.gz
nextcloud-server-01482b32a171bb8529bc8baacbe764107e52e14c.zip
Merge pull request #8062 from nextcloud/use-class
Use ::class statement instead of string
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/ITags.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/public/ITags.php b/lib/public/ITags.php
index ef9b3e8796e..fce47bb5bc7 100644
--- a/lib/public/ITags.php
+++ b/lib/public/ITags.php
@@ -33,8 +33,10 @@
// This means that they should be used by apps instead of the internal ownCloud classes
namespace OCP;
+use OC\Tags;
+
// FIXME: Where should I put this? Or should it be implemented as a Listener?
-\OC_Hook::connect('OC_User', 'post_deleteUser', 'OC\Tags', 'post_deleteUser');
+\OC_Hook::connect('OC_User', 'post_deleteUser', Tags::class, 'post_deleteUser');
/**
* Class for easily tagging objects by their id