mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
wording
This commit is contained in:
parent
1201887ad1
commit
865ca7acd6
1 changed files with 1 additions and 2 deletions
|
@ -265,7 +265,7 @@ class CakeTestFixture {
|
|||
*
|
||||
* @param DboSource $db An instance of the database into which the records will be inserted
|
||||
* @return boolean on success or if there are no records to insert, or false on failure
|
||||
* @throws CakeException if count of values and fields does not match.
|
||||
* @throws CakeException if counts of values and fields do not match.
|
||||
*/
|
||||
public function insert($db) {
|
||||
if (!isset($this->_insert)) {
|
||||
|
@ -286,7 +286,6 @@ class CakeTestFixture {
|
|||
}
|
||||
$nested = $db->useNestedTransactions;
|
||||
$db->useNestedTransactions = false;
|
||||
|
||||
$result = $db->insertMulti($this->table, $fields, $values);
|
||||
if (
|
||||
$this->primaryKey &&
|
||||
|
|
Loading…
Reference in a new issue