Browse Source

[contents] Remove superfluous debug log from getContents

References #757
logmanoriginal 5 years ago
parent
commit
65ec04ea98
1 changed files with 0 additions and 2 deletions
  1. 0 2
      lib/contents.php

+ 0 - 2
lib/contents.php

@@ -36,8 +36,6 @@ function getContents($url, $header = array(), $opts = array()){
 	$headers = parseResponseHeader($header);
 	$finalHeader = end($headers);
 
-	error_log(json_encode($headers));
-
 	if(array_key_exists('http_code', $finalHeader)
 	&& strpos($finalHeader['http_code'], '200') === false
 	&& array_key_exists('Server', $finalHeader)