aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrank Karlitschek <frank@owncloud.org>2013-05-27 13:45:47 -0700
committerFrank Karlitschek <frank@owncloud.org>2013-05-27 13:45:47 -0700
commitaeff1a4c4d579e2370bfab3a65cdf918d689d463 (patch)
tree6b508e88bfeab5d420e8d80d9d120b6467d6a076
parent4c05259ccfbb7e2f0083794172eaa7c06f4b2592 (diff)
parent9e65f40d1bb5ac4c5d5ea273c13dae7a8ec6825f (diff)
downloadnextcloud-server-aeff1a4c4d579e2370bfab3a65cdf918d689d463.tar.gz
nextcloud-server-aeff1a4c4d579e2370bfab3a65cdf918d689d463.zip
Merge pull request #3510 from owncloud/publicemitter
Add PublicEmitter class
-rw-r--r--lib/hooks/publicemitter.php20
1 files changed, 20 insertions, 0 deletions
diff --git a/lib/hooks/publicemitter.php b/lib/hooks/publicemitter.php
new file mode 100644
index 00000000000..e2371713ac3
--- /dev/null
+++ b/lib/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);
+ }
+}