1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-30 11:18:59 +01:00

Removed useless __destruct methods

This commit is contained in:
danogentili 2016-11-17 14:02:22 +03:00
parent a35812c5f1
commit b0c7c79d3a
2 changed files with 1 additions and 7 deletions

View File

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

View File

@ -184,9 +184,4 @@ Slv8kg9qv1m6XHVQY3PnEw+QQtqSIXklHwIDAQAB
}
}
public function __destruct()
{
unset($this->datacenter);
}
}