328 public function finalize()
330 if(!$this->checkToFinalizeStatus())
335 $tableName = PostingThreadTable::getTableName();
336 $sqlHelper = Application::getConnection()->getSqlHelper();
337 $query = 'DELETE FROM
' . $sqlHelper->quote($tableName) . ' WHERE POSTING_ID=
' . intval($this->postingId);
340 Application::getConnection()->query($query);
342 catch (SqlQueryException $e)