diff options
author | Morris Jobke <hey@morrisjobke.de> | 2018-01-29 15:25:08 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-29 15:25:08 +0100 |
commit | 01482b32a171bb8529bc8baacbe764107e52e14c (patch) | |
tree | c129fb9971d57a0685b84bd97d4235f84231eb19 /lib/public | |
parent | 6d86dcb2654739bac62948c94a076c101b1e637d (diff) | |
parent | eb51f06a3b9e42686f462b9f7a56411d3fe6cb27 (diff) | |
download | nextcloud-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.php | 4 |
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 |