Skip to content

Commit

Permalink
What is that doing in there?
Browse files Browse the repository at this point in the history
  • Loading branch information
Woody Gilk committed Jun 6, 2010
1 parent 4b9ad73 commit 31863e7
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions classes/kohana/database/query/builder.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,14 +108,8 @@ protected function _compile_conditions(Database $db, array $conditions)
$value = $db->quote($value);
}

if ($op)
{
// Make the operator uppercase and spaced
$op = ' '.strtoupper($op);
}

// Append the statement to the query
$sql .= $db->quote_identifier($column).$op.' '.$value;
$sql .= $db->quote_identifier($column).' '.$op.' '.$value;
}

$last_condition = $condition;
Expand Down

0 comments on commit 31863e7

Please sign in to comment.