Usunięto logowanie do pliku w metodzie set_as_paid w klasie Order

This commit is contained in:
2025-12-28 12:40:36 +01:00
parent 99686b462f
commit 0afbb8acde

View File

@@ -202,9 +202,9 @@ class Order implements \ArrayAccess
mkdir( $dir_logs, 0777, true );
// $file = $dir_logs . date( 'Y-m-d' ) . '-order-set-as-paid.txt';
$content = date( 'Y-m-d H:i:s' ) . ' | ' . $this -> id . ' | ' . $this -> number . ' | ' . $this -> summary . ' | ' . $this -> client_email . "\n";
$content .= print_r( $apilo_response, true ) . "\n\n";
file_put_contents( $file, $content, FILE_APPEND );
// $content = date( 'Y-m-d H:i:s' ) . ' | ' . $this -> id . ' | ' . $this -> number . ' | ' . $this -> summary . ' | ' . $this -> client_email . "\n";
// $content .= print_r( $apilo_response, true ) . "\n\n";
// file_put_contents( $file, $content, FILE_APPEND );
return true;
}