From 583415069cc52d83dbdcc70a19af7ead17436013 Mon Sep 17 00:00:00 2001 From: Angel Fernando Quiroz Campos Date: Fri, 25 Sep 2015 10:01:55 -0500 Subject: [PATCH] Fix the removal process of tables in the database - refs #7768 --- plugin/buycourses/src/buy_course_plugin.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/buycourses/src/buy_course_plugin.class.php b/plugin/buycourses/src/buy_course_plugin.class.php index 954ae85b0e..a41a6d9d34 100644 --- a/plugin/buycourses/src/buy_course_plugin.class.php +++ b/plugin/buycourses/src/buy_course_plugin.class.php @@ -74,10 +74,10 @@ class BuyCoursesPlugin extends Plugin $tablesToBeDeleted = array( self::TABLE_PAYPAL, self::TABLE_TRANSFER, + self::TABLE_ITEM_BENEFICIARY, self::TABLE_ITEM, self::TABLE_SALE, - self::TABLE_CURRENCY, - self::TABLE_ITEM_BENEFICIARY + self::TABLE_CURRENCY ); foreach ($tablesToBeDeleted as $tableToBeDeleted) {