Remove onAny from examples

This commit is contained in:
Daniil Gentili 2019-06-17 12:50:49 +02:00
parent d9adbbb25c
commit aa2c729ab5
1 changed files with 0 additions and 8 deletions

View File

@ -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