Browse Source

Merge pull request #550 from AngelFQC/BT8979

Replace imgmap with mapping plugin in toolbars - refs BT#8979
Angel Fernando Quiroz Campos 10 years ago
parent
commit
1e0e789ff0

+ 1 - 2
src/Chamilo/CoreBundle/Component/Editor/CkEditor/Toolbar/Basic.php

@@ -57,7 +57,6 @@ class Basic extends Toolbar
 
         if (api_get_setting('enabled_googlemaps') == 'true') {
             $plugins[] = 'leaflet';
-            $plugins[] = 'mapping';
         }
 
         if (api_get_setting('math_asciimathML') == 'true') {
@@ -75,7 +74,7 @@ class Basic extends Toolbar
         }
 
         if (api_get_setting('enabled_imgmap') == 'true') {
-            // Commercial plugin
+            $plugins[] = 'mapping';
         }
 
         if (api_get_setting('block_copy_paste_for_students') == 'true') {