Skip to content

Commit

Permalink
Removing duplicated code.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Jun 23, 2011
1 parent d6e262d commit 623466d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/Cake/Model/Datasource/Database/Sqlserver.php
Expand Up @@ -509,9 +509,6 @@ public function renderStatement($type, $data) {
$limit = 'TOP ' . intval($limitOffset[2]);
$page = intval($limitOffset[1] / $limitOffset[2]);
$offset = intval($limitOffset[2] * $page);
if (!$order) {
$order = 'ORDER BY (SELECT NULL)';
}

$rowCounter = self::ROW_COUNTER;
return "
Expand Down

0 comments on commit 623466d

Please sign in to comment.