Browse Source

Removed unnecessary code

tags/2.0.0-rc
Alexander Makarov 10 years ago
parent
commit
47ee0b87d4
  1. 10
      framework/db/QueryTrait.php

10
framework/db/QueryTrait.php

@ -261,16 +261,6 @@ trait QueryTrait
}
}
break;
case 'IN':
case 'NOT IN':
case 'LIKE':
case 'OR LIKE':
case 'NOT LIKE':
case 'OR NOT LIKE':
case 'ILIKE': // PostgreSQL operator for case insensitive LIKE
case 'OR ILIKE':
case 'NOT ILIKE':
case 'OR NOT ILIKE':
default:
if (array_key_exists(1, $condition) && $this->isEmpty($condition[1])) {
return [];

Loading…
Cancel
Save