Code Duplication    Length = 5-5 lines in 2 locations

sources/database/Db-mysql.class.php 1 location

@@ 799-803 (lines=5) @@
796
797
		static $start = 0, $num_rows, $fields, $limit;
798
799
		if ($new_table)
800
		{
801
			$limit = strstr($tableName, 'log_') !== false ? 500 : 250;
802
			$start = 0;
803
		}
804
805
		$tableName = str_replace('{db_prefix}', $db_prefix, $tableName);
806

sources/database/Db-postgresql.class.php 1 location

@@ 697-701 (lines=5) @@
694
695
		static $start = 0, $num_rows, $fields, $limit;
696
697
		if ($new_table)
698
		{
699
			$limit = strstr($tableName, 'log_') !== false ? 500 : 250;
700
			$start = 0;
701
		}
702
703
		$data = '';
704
		$tableName = str_replace('{db_prefix}', $db_prefix, $tableName);