Skip to content

Commit

Permalink
Remove debug logging related to attachments
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesDPC committed Oct 26, 2017
1 parent 1e02464 commit 8fdb6b2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/connector/Message.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ public function encodeAttachments(&$parameters) {
if(!empty($parameters['attachment']) && is_array($parameters['attachment'])) {
foreach($parameters['attachment'] as $k=>$attachment) {
$parameters['attachment'][$k]['fileContent'] = base64_encode($attachment['fileContent']);
\SS_Log::log("encode attachment_length=" . strlen($parameters['attachment'][$k]['fileContent']), \SS_Log::DEBUG);
}
}
}
Expand All @@ -85,7 +84,6 @@ public function decodeAttachments(&$parameters) {
if(!empty($parameters['attachment']) && is_array($parameters['attachment'])) {
foreach($parameters['attachment'] as $k=>$attachment) {
$parameters['attachment'][$k]['fileContent'] = base64_decode($attachment['fileContent']);
\SS_Log::log("decode attachment_length=" . strlen($parameters['attachment'][$k]['fileContent']), \SS_Log::DEBUG);
}
}
}
Expand Down

0 comments on commit 8fdb6b2

Please sign in to comment.