Skip to content

Commit 78db425

Browse files
committed
refactor: remove debugging error_logs
1 parent 9a57f70 commit 78db425

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

server/services/getPDF.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,11 @@
2121
$images_path = $ini_array["general"]["images_path"];
2222

2323
if (isServiceWithPDFList($service)) {
24-
error_log('This is the service with multi pdf service');
2524
handleMultiPdfService($vis_id, $paper_id, $images_path, $filename, $is_streamgraph);
2625
} else {
27-
error_log('This is the service with single url service');
2826
handleSingleUrlService($vis_id, $paper_id, $url, $images_path, $filename, $is_streamgraph);
2927
}
3028

31-
error_log('Returning the filename:' . $filename);
3229
library\CommUtils::echoOrCallback(json_encode(array("status" => "success", "file" => $filename)), $_GET);
3330

3431
function isServiceWithPDFList(string $service): bool {
@@ -148,8 +145,6 @@ function extractValidPdfUrls(array $revision_data, string $paper_id, bool $is_st
148145
}
149146
}
150147

151-
error_log('This is the valid urls:' . json_encode($valid_urls));
152-
153148
return array_unique($valid_urls);
154149
}
155150

0 commit comments

Comments
 (0)