Skip to content

Commit

Permalink
BackwardsCompatibilityBreak - fResult::areRemainingRows() was removed…
Browse files Browse the repository at this point in the history
…, same functionality is available from fResult::valid()
  • Loading branch information
wbond committed Apr 12, 2012
1 parent afdb2f7 commit b96e833
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 17 deletions.
15 changes: 1 addition & 14 deletions classes/fResult.php
Expand Up @@ -224,17 +224,6 @@ private function advanceCurrentRow()
}


/**
* Returns if there are any remaining rows
*
* @return boolean If there are remaining rows in the result
*/
public function areRemainingRows()
{
return $this->valid();
}


/**
* Returns the current row in the result set (required by iterator interface)
*
Expand Down Expand Up @@ -710,9 +699,7 @@ public function tossIfNoResults()


/**
* Returns if the query has any rows left (required by iterator interface)
*
* @internal
* Returns if the query has any rows left
*
* @return boolean If the iterator is still valid
*/
Expand Down
4 changes: 1 addition & 3 deletions classes/fUnbufferedResult.php
Expand Up @@ -507,9 +507,7 @@ public function tossIfNoResults()


/**
* Returns if the query has any rows left (required by iterator interface)
*
* @internal
* Returns if the query has any rows left
*
* @return boolean If the iterator is still valid
*/
Expand Down

0 comments on commit b96e833

Please sign in to comment.