From aa2c729ab58df6fd79753083bc3c5930d006efce Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Mon, 17 Jun 2019 12:50:49 +0200 Subject: [PATCH] Remove onAny from examples --- docs/docs/UPDATES.md | 8 -------- 1 file changed, 8 deletions(-) diff --git a/docs/docs/UPDATES.md b/docs/docs/UPDATES.md index 46d13fb8..2d1253a8 100644 --- a/docs/docs/UPDATES.md +++ b/docs/docs/UPDATES.md @@ -56,10 +56,6 @@ class EventHandler extends \danog\MadelineProto\EventHandler { parent::__construct($MadelineProto); } - public function onAny($update) - { - \danog\MadelineProto\Logger::log("Received an update of type ".$update['_']); - } public function onUpdateSomethingElse($update) { // See the docs for a full list of updates: http://docs.madelineproto.xyz/API_docs/types/Update.html @@ -142,10 +138,6 @@ class EventHandler extends \danog\MadelineProto\CombinedEventHandler { parent::__construct($CombinedMadelineProto); } - public function onAny($update, $session) - { - \danog\MadelineProto\Logger::log("Received an update of type ".$update['_']); - } public function onUpdateSomethingElse($update, $session) { // See the docs for a full list of updates: http://docs.madelineproto.xyz/API_docs/types/Update.html