function DatabaseHandler::__wakeup

7.x DatabaseHandler.php DatabaseHandler::__wakeup()
6.x DatabaseHandler.php DatabaseHandler::__wakeup()

This function is called when this objectis unserialized. We want to reconnect to the database, so we'll call our constructor.

File

classes/DatabaseHandler.php, line 69

Class

DatabaseHandler

Code

function __wakeup() {
  $this->__construct();
}