Usunięto nieużywane logowanie płatności w klasie Order oraz usunięto pliki .DS_Store z katalogów autoload i templates
This commit is contained in:
BIN
autoload/.DS_Store
vendored
Normal file
BIN
autoload/.DS_Store
vendored
Normal file
Binary file not shown.
BIN
autoload/front/.DS_Store
vendored
Normal file
BIN
autoload/front/.DS_Store
vendored
Normal file
Binary file not shown.
@@ -201,7 +201,7 @@ class Order implements \ArrayAccess
|
||||
if ( !is_dir( $dir_logs ) )
|
||||
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 .= print_r( $apilo_response, true ) . "\n\n";
|
||||
file_put_contents( $file, $content, FILE_APPEND );
|
||||
|
||||
@@ -344,5 +344,4 @@ if ( file_exists( 'plugins/special-actions-end.php' ) )
|
||||
include 'plugins/special-actions-end.php';
|
||||
|
||||
echo $html;
|
||||
$mdb -> logSummary();
|
||||
?>
|
||||
BIN
templates/.DS_Store
vendored
Normal file
BIN
templates/.DS_Store
vendored
Normal file
Binary file not shown.
Reference in New Issue
Block a user