From 28afd56d54e72f355bf4e965241bb148f758da3b Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Mon, 13 May 2019 17:34:56 +0200 Subject: [PATCH] Remove some workarounds --- docs | 2 +- src/danog/MadelineProto/MTProto.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs b/docs index 0fcff8e5..e8e22ca1 160000 --- a/docs +++ b/docs @@ -1 +1 @@ -Subproject commit 0fcff8e5a31af300511949c4dbafc7be6c0d4dd7 +Subproject commit e8e22ca165ac1bc8a7435d5d55b3e94b1883d9d8 diff --git a/src/danog/MadelineProto/MTProto.php b/src/danog/MadelineProto/MTProto.php index fd8bab08..2d2f4321 100644 --- a/src/danog/MadelineProto/MTProto.php +++ b/src/danog/MadelineProto/MTProto.php @@ -274,7 +274,7 @@ class MTProto implements TLCallback unset($this->settings['pwr']['update_handler']); $this->updates = []; }*/ - $keys = array_keys((array) get_object_vars($this)); + /*$keys = array_keys((array) get_object_vars($this)); if (count($keys) !== count(array_unique($keys))) { throw new Bug74586Exception(); } @@ -283,7 +283,7 @@ class MTProto implements TLCallback $this->{$k} = $v; } unset($this->data); - } + }*/ if ($this->authorized === true) { $this->authorized = self::LOGGED_IN; }