Code Duplication    Length = 4-4 lines in 2 locations

lib/stores/modules/mysql_compiler.php 1 location

@@ 321-324 (lines=4) @@
318
		$properties=$this->tbl_prefix."prop_";
319
		$this->used_tables[$nodes]=$nodes;
320
		$this->used_tables[$objects]=$objects;
321
		if ($this->join_target_properties) {
322
			$this->used_tables[$properties."references as target_reference"] = $properties."references as target_reference";
323
			$this->used_tables["$nodes as target"] = "$nodes as target";
324
		}
325
326
		$tables = implode(', ',array_keys($this->used_tables));
327
		foreach ( $this->used_tables as $key => $val){

lib/stores/modules/mysql_workspaces_compiler.php 1 location

@@ 23-26 (lines=4) @@
20
		$properties=$this->tbl_prefix."prop_";
21
		$this->used_tables[$nodes]=$nodes;
22
		$this->used_tables[$objects]=$objects;
23
		if ($this->join_target_properties) {
24
			$this->used_tables[$properties."references as target_reference"] = $properties."references as target_reference";
25
			$this->used_tables["$nodes as target"] = "$nodes as target";
26
		}
27
		@reset($this->used_tables);
28
		while (list($key, $val)=each($this->used_tables)) {
29
			if ($tables) {