public function unsetHook()
    {
        if ($this->hook_reference !== null)
        {
            Hook::unsubscribe(Hook::SHUTDOWN_HOOK, $this->hook_reference);
        }
    }
public function unsetHook()
    {
        if ($this->hook_reference !== null)
        {
            Hook::unsubscribe(Hook::SHUTDOWN_HOOK, $this->hook_reference);
        }
    }
public function unsetHook ( ) { if ( $ this -> hook_reference !== null ) { Hook :: unsubscribe ( Hook :: SHUTDOWN_HOOK , $ this -> hook_reference ) ; } }
Remove the hook - cancelling automatic save on termination
Remove the hook - cancelling automatic save on termination