Code Duplication    Length = 4-4 lines in 2 locations

API/TeamSpeak3.php 2 locations

@@ 1976-1979 (lines=4) @@
1973
  			@fclose($this->runtime['fileSocket']);
1974
  			$this->runtime['fileSocket'] = '';
1975
  			return $content;
1976
  		}else{
1977
  			$this->addDebugLog('fileSocket returns '.$errnum. ' | '.$errstr);
1978
  			return $this->generateOutput(false, array('Error in fileSocket: '.$errnum. ' | '.$errstr), false);
1979
  		}
1980
	}
1981
	
1982
/**
@@ 2180-2183 (lines=4) @@
2177
  			@fclose($this->runtime['fileSocket']);
2178
  			$this->runtime['fileSocket'] = '';
2179
  			return $this->generateOutput(true, array(), true);
2180
  		}else{
2181
  			$this->addDebugLog('fileSocket returns '.$errnum. ' | '.$errstr);
2182
  			return $this->generateOutput(false, array('Error in fileSocket: '.$errnum. ' | '.$errstr), false);
2183
  		}
2184
	}
2185
2186
/**