mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-27 04:35:12 +01:00
Removed useless __destruct methods
This commit is contained in:
parent
a35812c5f1
commit
b0c7c79d3a
@ -34,13 +34,12 @@ class API extends Tools
|
||||
\danog\MadelineProto\Logger::log('Getting future salts...');
|
||||
$this->future_salts = $this->get_future_salts([3]);
|
||||
|
||||
|
||||
|
||||
\danog\MadelineProto\Logger::log('MadelineProto is ready!');
|
||||
}
|
||||
|
||||
public function __destruct()
|
||||
{
|
||||
unset($this->API);
|
||||
restore_error_handler();
|
||||
}
|
||||
|
||||
|
@ -184,9 +184,4 @@ Slv8kg9qv1m6XHVQY3PnEw+QQtqSIXklHwIDAQAB
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public function __destruct()
|
||||
{
|
||||
unset($this->datacenter);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user