Proyectos de Subversion Moodle

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 1441
Línea 137... Línea 137...
137
            debugging('Could not determine the $PAGE. Media plugins will not be set up', DEBUG_DEVELOPER);
137
            debugging('Could not determine the $PAGE. Media plugins will not be set up', DEBUG_DEVELOPER);
138
        }
138
        }
139
    }
139
    }
Línea 140... Línea 140...
140
 
140
 
141
    /**
-
 
142
     * @deprecated since Moodle 3.3. The setup is now done in ::instance() so there is no need to call this.
-
 
143
     */
-
 
144
    public function setup() {
-
 
145
        throw new coding_exception('core_media_manager::setup() can not be used any more because it is done in ::instance()');
-
 
146
    }
-
 
147
 
-
 
148
    /**
141
    /**
149
     * Resets cached singleton instance. To be used after $CFG->media_plugins_sortorder is modified
142
     * Resets cached singleton instance. To be used after $CFG->media_plugins_sortorder is modified
150
     */
143
     */
151
    public static function reset_caches() {
144
    public static function reset_caches() {
152
        self::$instance = null;
145
        self::$instance = null;