protected function deleteRequest($id)
    {
        $query = "DELETE FROM {$this->config->table_requests} WHERE id = :id";
        $query_prepared = $this->dbh->prepare($query);
        return $query_prepared->execute(['id' => $id]);
    }
protected function deleteRequest($id)
    {
        $query = "DELETE FROM {$this->config->table_requests} WHERE id = :id";
        $query_prepared = $this->dbh->prepare($query);
        return $query_prepared->execute(['id' => $id]);
    }
protected function deleteRequest ( $ id ) { $ query = "DELETE FROM {$this->config->table_requests} WHERE id = :id" ; $ query_prepared = $ this -> dbh -> prepare ( $ query ) ; return $ query_prepared -> execute ( [ 'id' => $ id ] ) ; }
Deletes request from database
@param int $id
@return boolean
Deletes request from database