From 6bd6d521ef1923f9387061e75cca600c94e33851 Mon Sep 17 00:00:00 2001 From: Yannick Warnier Date: Thu, 26 Dec 2013 09:11:15 -0500 Subject: [PATCH] Fix issue removing bbb plugin link in course homepage --- plugin/bbb/lib/bbb_plugin.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/bbb/lib/bbb_plugin.class.php b/plugin/bbb/lib/bbb_plugin.class.php index c95ba20c8f..fc4284671c 100644 --- a/plugin/bbb/lib/bbb_plugin.class.php +++ b/plugin/bbb/lib/bbb_plugin.class.php @@ -70,7 +70,7 @@ class BBBPlugin extends Plugin Database::query($sql); //hack to get rid of Database::query warning (please add c_id...) - $sql = "DELETE FROM $t_tool WHERE name = 'videoconference' AND c_id = c_id"; + $sql = "DELETE FROM $t_tool WHERE name = 'bbb' AND c_id = c_id"; Database::query($sql); $sql = "DROP TABLE IF EXISTS plugin_bbb_meeting"; @@ -79,4 +79,4 @@ class BBBPlugin extends Plugin //Deleting course settings $this->uninstall_course_fields_in_all_courses(); } -} \ No newline at end of file +}