From 5f736886d8e9692ff54f42bf6fde9f981377fa13 Mon Sep 17 00:00:00 2001 From: Yannick Warnier Date: Tue, 16 Nov 2010 12:41:11 -0500 Subject: [PATCH] Fixed missing uninstall query in BBB plugin --- plugin/bbb/uninstall.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/bbb/uninstall.php b/plugin/bbb/uninstall.php index 9327fca317..453edf2f48 100644 --- a/plugin/bbb/uninstall.php +++ b/plugin/bbb/uninstall.php @@ -30,7 +30,7 @@ while ($row = Database::fetch_assoc($res)) { $r = Database::query($sql_course); $sql_course = "DELETE FROM $t_course WHERE variable = 'big_blue_button_welcome_message'"; $r = Database::query($sql_course); - $t_tool = Database::get_course_table(TABLE_TOOL_LIST,$cdb); + $t_tool = Database::get_course_table(TABLE_TOOL_LIST,$row['db_name']); $sql_course = "DELETE FROM $t_tool WHERE link = '../../plugin/bbb/start.php'"; $r = Database::query($sql_course); } \ No newline at end of file