From f3d911e5b144057154384df6e7fc3e00d2a504d5 Mon Sep 17 00:00:00 2001 From: Bilal Catic Date: Thu, 11 Oct 2018 05:27:17 +0200 Subject: [PATCH] remove debug logging --- .../plugins/wiaas/includes/product/class-wiaas-product-hooks.php | 1 - 1 file changed, 1 deletion(-) diff --git a/backend/app/plugins/wiaas/includes/product/class-wiaas-product-hooks.php b/backend/app/plugins/wiaas/includes/product/class-wiaas-product-hooks.php index c75b7be..1dd7771 100644 --- a/backend/app/plugins/wiaas/includes/product/class-wiaas-product-hooks.php +++ b/backend/app/plugins/wiaas/includes/product/class-wiaas-product-hooks.php @@ -39,7 +39,6 @@ class Wiaas_Product_Hooks { private static function validate_package($package){ $package_total_cost = Wiaas_Pricing::get_package_total_cost($package); $package_max_cost_margin = Wiaas_Package_Pricing::get_package_max_cost_margin($package); - file_put_contents('/home/bilal/wiaas.log', 'Paket ID : ' . $package->get_id() . ' Total cost = ' . $package_total_cost . ' Max margin = ' . $package_max_cost_margin . ' ||| ', FILE_APPEND); if (($package_max_cost_margin != 0) && ($package_total_cost > $package_max_cost_margin)){ Wiaas_Package_Status::set_package_status($package->get_id(), Wiaas_Package_Status::INVALID_MARGIN); }else{