diff options
author | Robin Appelman <icewind@owncloud.com> | 2013-05-09 22:52:44 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2013-05-09 22:52:44 +0200 |
commit | 990f23c0249682043c9e0dd42f33c478e2aa9131 (patch) | |
tree | 0037ef5a0154b0b093a7b059b74156c662163f90 /lib/hooks | |
parent | b8a421a86db09c7ed106c2f9aee15aa337761e4a (diff) | |
download | nextcloud-server-990f23c0249682043c9e0dd42f33c478e2aa9131.tar.gz nextcloud-server-990f23c0249682043c9e0dd42f33c478e2aa9131.zip |
fix typo
Diffstat (limited to 'lib/hooks')
-rw-r--r-- | lib/hooks/basicemitter.php | 2 | ||||
-rw-r--r-- | lib/hooks/emitter.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/hooks/basicemitter.php b/lib/hooks/basicemitter.php index bd24539a40b..e615a58cfe8 100644 --- a/lib/hooks/basicemitter.php +++ b/lib/hooks/basicemitter.php @@ -35,7 +35,7 @@ abstract class BasicEmitter implements Emitter { * @param string $method optional * @param callable $callback optional */ - public function remoteListener($scope = null, $method = null, $callback = null) { + public function removeListener($scope = null, $method = null, $callback = null) { $names = array(); $allNames = array_keys($this->listeners); if ($scope and $method) { diff --git a/lib/hooks/emitter.php b/lib/hooks/emitter.php index 4219b6f3545..8e9074bad67 100644 --- a/lib/hooks/emitter.php +++ b/lib/hooks/emitter.php @@ -28,5 +28,5 @@ interface Emitter { * @param string $method optional * @param callable $callback optional */ - public function remoteListener($scope = null, $method = null, $callback = null); + public function removeListener($scope = null, $method = null, $callback = null); } |