Allows for things like closing databases or flushing logs. When
running in test mode, tearDown() must be called rather than close.
public close ( ) |
public function close() { if ($this->state) { $GLOBALS['session']->set('horde', 'syncml', $this->state); } $GLOBALS['session']->close(); parent::close(); }
/** * Cleanup public function called after all message processing is finished. * * Allows for things like closing databases or flushing logs. When * running in test mode, tearDown() must be called rather than close. */ public function close() { parent::close(); $this->_db->disconnect(); }