Code Duplication    Length = 4-4 lines in 3 locations

lib/Cake/Model/Datasource/Database/Mysql.php 2 locations

@@ 400-403 (lines=4) @@
397
			return false;
398
		}
399
400
		if (!$this->execute($this->renderStatement('update', compact('table', 'alias', 'joins', 'fields', 'conditions')))) {
401
			$model->onError();
402
			return false;
403
		}
404
		return true;
405
	}
406
@@ 440-443 (lines=4) @@
437
		if ($conditions === false) {
438
			return false;
439
		}
440
		if ($this->execute($this->renderStatement('delete', compact('alias', 'table', 'joins', 'conditions'))) === false) {
441
			$model->onError();
442
			return false;
443
		}
444
		return true;
445
	}
446

lib/Cake/Model/Datasource/DboSource.php 1 location

@@ 1909-1912 (lines=4) @@
1906
			return false;
1907
		}
1908
1909
		if ($this->execute($this->renderStatement('delete', compact('alias', 'table', 'joins', 'conditions'))) === false) {
1910
			$model->onError();
1911
			return false;
1912
		}
1913
		return true;
1914
	}
1915