wfLimitResult() - replaced by Database::limitResult()
QueryPage::getOrderLimit() - replaced by getOrder() + Database::limitResult()
wfErrorExit();
}
-function wfLimitResult( $limit, $offset ) {
- return " LIMIT ".(is_numeric($offset)?"{$offset},":"")."{$limit} ";
-}
-
?>
return true;
}
- # Don't override this unless you're darn sure.
- function getOrderLimit( $offset, $limit ) {
- return ' ORDER BY value ' .
- ($this->sortDescending() ? 'DESC' : '')
- . wfLimitResult($limit,$offset);
- }
-
function getOrder() {
return ' ORDER BY value ' .
($this->sortDescending() ? 'DESC' : '');