Permalink
Browse files

Applying patch from 'michealc' to fix duplicated comments. Fixes #1306

  • Loading branch information...
1 parent f48811a commit bf10723f897466a1b02149db4f45e9a279c37de8 @markstory markstory committed Nov 23, 2010
Showing with 3 additions and 2 deletions.
  1. +3 −2 cake/libs/model/datasources/datasource.php
@@ -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
@@ -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.
@@ -428,6 +428,7 @@ function lastAffected($source = null) {
function enabled() {
return true;
}
+
/**
* Returns true if the DataSource supports the given interface (method)
*

0 comments on commit bf10723

Please sign in to comment.