Created
March 13, 2018 07:47
-
-
Save alexsoin/670b2eecdc0ba4ab415b87d4f89a5fc7 to your computer and use it in GitHub Desktop.
Удаление заказа minishop2 modx из бд
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| $id_order = 9999; // id заказа который нужно удалить | |
| $order = $modx->getObject('msOrder', $id_order); | |
| $order->remove(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment