|
@@ -1,4 +1,5 @@
|
|
|
<?php
|
|
|
+/* See license terms in /license.txt */
|
|
|
|
|
|
/**
|
|
|
* Class OpenMeetingsPlugin
|
|
@@ -88,4 +89,14 @@ class OpenMeetingsPlugin extends Plugin
|
|
|
//Deleting course settings
|
|
|
$this->uninstall_course_fields_in_all_courses($this->course_settings);
|
|
|
}
|
|
|
+
|
|
|
+ /**
|
|
|
+ * @param int $course_id
|
|
|
+ * @param bool $add_tool_link
|
|
|
+ */
|
|
|
+ public function course_install($course_id, $add_tool_link = true)
|
|
|
+ {
|
|
|
+ //force ignoring the tools table insertion for this plugin
|
|
|
+ $this->install_course_fields($course_id, $add_tool_link);
|
|
|
+ }
|
|
|
}
|