diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2019-12-11 10:04:36 +0100 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2019-12-11 10:04:36 +0100 |
commit | 723f017b125fe599219f98f5e15622c329acec1f (patch) | |
tree | 112ee58e0ca7fd103d8afec37a003df26baae83a /lib/private/legacy | |
parent | 68d59915d6084c92799c22196012e32f7bb12be4 (diff) | |
download | nextcloud-server-723f017b125fe599219f98f5e15622c329acec1f.tar.gz nextcloud-server-723f017b125fe599219f98f5e15622c329acec1f.zip |
Deprecate hooks, emitter and Symfony dispatcher mechanisms
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/private/legacy')
-rw-r--r-- | lib/private/legacy/hook.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/private/legacy/hook.php b/lib/private/legacy/hook.php index 0d413a11de7..78060d76e0d 100644 --- a/lib/private/legacy/hook.php +++ b/lib/private/legacy/hook.php @@ -28,7 +28,11 @@ * along with this program. If not, see <http://www.gnu.org/licenses/> * */ -class OC_Hook{ + +/** + * @deprecated 18.0.0 use events and the \OCP\EventDispatcher\IEventDispatcher service + */ +class OC_Hook { public static $thrownExceptions = []; static private $registered = array(); |