Fix phpcs

This commit is contained in:
Laurent Destailleur 2018-08-29 21:51:49 +02:00
parent 2cf37f621c
commit 3e0b2d0281

View File

@ -177,10 +177,9 @@ class InterfaceStripe
$customer->delete(); $customer->delete();
} }
$sql = "DELETE FROM ".MAIN_DB_PREFIX."societe_account"; $sql = "DELETE FROM ".MAIN_DB_PREFIX."societe_account";
$sql.= " WHERE site='stripe' AND fk_soc = " . $object->id; $sql.= " WHERE site='stripe' AND fk_soc = " . $object->id;
$this->db->query($sql); $this->db->query($sql);
} }
// If payment mode is linked to Strip, we update/delete Stripe too // If payment mode is linked to Strip, we update/delete Stripe too