Welcome to mirror list, hosted at ThFree Co, Russian Federation.

legacyemitter.php « hooks « private « lib - github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a2d16ace9a7ef8be7f2d8740e2a2b4437558802f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?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;

abstract class LegacyEmitter extends BasicEmitter {
	protected function emit($scope, $method, $arguments = array()) {
		\OC_Hook::emit($scope, $method, $arguments);
		parent::emit($scope, $method, $arguments);
	}
}