Usunięto logowanie do pliku w metodzie set_as_paid w klasie Order
This commit is contained in:
@@ -202,9 +202,9 @@ class Order implements \ArrayAccess
|
|||||||
mkdir( $dir_logs, 0777, true );
|
mkdir( $dir_logs, 0777, true );
|
||||||
|
|
||||||
// $file = $dir_logs . date( 'Y-m-d' ) . '-order-set-as-paid.txt';
|
// $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 = 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";
|
// $content .= print_r( $apilo_response, true ) . "\n\n";
|
||||||
file_put_contents( $file, $content, FILE_APPEND );
|
// file_put_contents( $file, $content, FILE_APPEND );
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user