summaryrefslogtreecommitdiffstats
path: root/lib/private/hooks/publicemitter.php
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2013-10-04 14:06:42 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2013-10-04 14:06:42 +0200
commitaebc330f269f3e88f2891cd13009cde2d50eb59a (patch)
tree7398bc68d581d01b18ba3e9e79c82491f1ecf871 /lib/private/hooks/publicemitter.php
parentc62dc4fa80d622ed7651029e9ddff2a6c6327143 (diff)
parent800bf0769ff4ea63c5dcc77eaaf1bce669b73d13 (diff)
downloadnextcloud-server-aebc330f269f3e88f2891cd13009cde2d50eb59a.tar.gz
nextcloud-server-aebc330f269f3e88f2891cd13009cde2d50eb59a.zip
Merge branch 'master' into fixing-4011-master
Diffstat (limited to 'lib/private/hooks/publicemitter.php')
-rw-r--r--lib/private/hooks/publicemitter.php20
1 files changed, 20 insertions, 0 deletions
diff --git a/lib/private/hooks/publicemitter.php b/lib/private/hooks/publicemitter.php
new file mode 100644
index 00000000000..e2371713ac3
--- /dev/null
+++ b/lib/private/hooks/publicemitter.php
@@ -0,0 +1,20 @@
+<?php
+/**
+ * Copyright (c) 2013 Robin Appelman <icewind@owncloud.com>
+ * This file is licensed under the Affero General Public License version 3 or
+ * later.
+ * See the COPYING-README file.
+ */
+
+namespace OC\Hooks;
+
+class PublicEmitter extends BasicEmitter {
+ /**
+ * @param string $scope
+ * @param string $method
+ * @param array $arguments optional
+ */
+ public function emit($scope, $method, $arguments = array()) {
+ parent::emit($scope, $method, $arguments);
+ }
+}