diff options
author | Morris Jobke <hey@morrisjobke.de> | 2018-01-26 01:16:13 +0300 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2018-01-29 14:03:47 +0300 |
commit | eb51f06a3b9e42686f462b9f7a56411d3fe6cb27 (patch) | |
tree | 0d96c86c4489b4e3fe60bcceaeb6759d856a36e9 /lib/public/ITags.php | |
parent | 1d8b90b8d3c8a85104d223b7f1d5693280370774 (diff) |
Use ::class statement instead of string
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib/public/ITags.php')
-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 |