Code Duplication    Length = 1-4 lines in 2 locations

api/src/Storage/Base.php 2 locations

@@ 321-321 (lines=1) @@
318
	 */
319
	function data_merge($new)
320
	{
321
		if ((int) $this->debug >= 4) echo "<p>so_sql::data_merge(".print_r($new,true).")</p>\n";
322
323
		if (!is_array($new) || !count($new))
324
		{
@@ 1526-1529 (lines=4) @@
1523
	function get_rows($query,&$rows,&$readonlys,$join='',$need_full_no_count=false,$only_keys=false,$extra_cols=array())
1524
	{
1525
		unset($readonlys);	// required by function signature, but not used in this default implementation
1526
		if ((int) $this->debug >= 4)
1527
		{
1528
			echo "<p>so_sql::get_rows(".print_r($query,true).",,)</p>\n";
1529
		}
1530
		$criteria = array();
1531
		$op = 'AND';
1532
		if ($query['search'])