MDL-38298 Take out harcoded dependency + tests.
[moodle.git] / filter / emoticon / filter.php
index b312c9e..b7b68b2 100644 (file)
@@ -96,7 +96,7 @@ class filter_emoticon extends moodle_text_filter {
      */
     protected function load_global_config() {
         if (is_null(self::$globalconfig)) {
-            self::$globalconfig = get_config('filter_emoticon');
+            self::$globalconfig = get_config(get_class($this));
         }
     }