Browse Source

Fixing openmeetings tool see #7167

Julio Montoya 10 years ago
parent
commit
449c293043
1 changed files with 11 additions and 0 deletions
  1. 11 0
      plugin/openmeetings/lib/openmeetings_plugin.class.php

+ 11 - 0
plugin/openmeetings/lib/openmeetings_plugin.class.php

@@ -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);
+    }
 }