|
@@ -99,8 +99,9 @@ |
|
|
block discarded – undo |
|
99
|
99
|
if ( |
|
100
|
100
|
$this->queryStructure->getElement( ( QueryStructure::WHERE_TRIGGER ) ) && |
|
101
|
101
|
!count( $this->queryStructure->getElement( QueryStructure::WHERE ) ) |
|
102
|
|
- ) |
|
103
|
|
- throw new QueryException( 'Where or Having clause is required for this statement!', QueryException::QUERY_ERROR_DELETE_NOT_FILTER ); |
|
|
102
|
+ ) { |
|
|
103
|
+ throw new QueryException( 'Where or Having clause is required for this statement!', QueryException::QUERY_ERROR_DELETE_NOT_FILTER ); |
|
|
104
|
+ } |
|
104
|
105
|
|
|
105
|
106
|
return DbService::getInstance()->query( |
|
106
|
107
|
$this->getSyntax(), |
Please login to merge, or discard this patch.