Skip to content
This repository
Browse code

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

  • Loading branch information...
commit bf10723f897466a1b02149db4f45e9a279c37de8 1 parent f48811a
Mark Story authored November 22, 2010
5  cake/libs/model/datasources/datasource.php
@@ -396,7 +396,7 @@ function lastInsertId($source = null) {
396 396
 	}
397 397
 
398 398
 /**
399  
- * Returns the ID generated from the previous INSERT operation.
  399
+ * Returns the number of rows returned by last operation.
400 400
  *
401 401
  * @param unknown_type $source
402 402
  * @return integer Number of rows returned by last operation
@@ -407,7 +407,7 @@ function lastNumRows($source = null) {
407 407
 	}
408 408
 
409 409
 /**
410  
- * Returns the ID generated from the previous INSERT operation.
  410
+ * Returns the number of rows affected by last query.
411 411
  *
412 412
  * @param unknown_type $source
413 413
  * @return integer Number of rows affected by last query.
@@ -428,6 +428,7 @@ function lastAffected($source = null) {
428 428
 	function enabled() {
429 429
 		return true;
430 430
 	}
  431
+
431 432
 /**
432 433
  * Returns true if the DataSource supports the given interface (method)
433 434
  *

0 notes on commit bf10723

Please sign in to comment.
Something went wrong with that request. Please try again.