Skip to content

Commit

Permalink
Applying patch from 'michealc' to fix duplicated comments. Fixes #1306
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Nov 23, 2010
1 parent f48811a commit bf10723
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cake/libs/model/datasources/datasource.php
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ function lastInsertId($source = null) {
}

/**
* Returns the ID generated from the previous INSERT operation.
* Returns the number of rows returned by last operation.
*
* @param unknown_type $source
* @return integer Number of rows returned by last operation
Expand All @@ -407,7 +407,7 @@ function lastNumRows($source = null) {
}

/**
* Returns the ID generated from the previous INSERT operation.
* Returns the number of rows affected by last query.
*
* @param unknown_type $source
* @return integer Number of rows affected by last query.
Expand All @@ -428,6 +428,7 @@ function lastAffected($source = null) {
function enabled() {
return true;
}

/**
* Returns true if the DataSource supports the given interface (method)
*
Expand Down

0 comments on commit bf10723

Please sign in to comment.