public function delete() { parent::delete(); $db = Loader::db(); $db->Execute('delete from PageWorkflowProgress where wpID = ?', array($this->wpID)); }
public function delete() { parent::delete(); $db = Database::connection(); $db->Execute('delete from PageWorkflowProgress where wpID = ?', array($this->wpID)); }