Remove some workarounds

This commit is contained in:
Daniil Gentili 2019-05-13 17:34:56 +02:00
parent d8e85de823
commit 28afd56d54
2 changed files with 3 additions and 3 deletions

2
docs

@ -1 +1 @@
Subproject commit 0fcff8e5a31af300511949c4dbafc7be6c0d4dd7
Subproject commit e8e22ca165ac1bc8a7435d5d55b3e94b1883d9d8

View File

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