File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -171,7 +171,7 @@ public function get_included_string_files() {
171171 $ files = array ();
172172
173173 $ component = $ this ->versionphp ['component ' ];
174- [$ plugintype , $ pluginname ] = normalize_component ($ component );
174+ [$ plugintype , $ pluginname ] = \core_component:: normalize_component ($ component );
175175
176176 $ fullnamefile = 'lang/en/ ' .$ component .'.php ' ;
177177 if (is_readable ($ this ->basepath .'/ ' .$ fullnamefile )) {
Original file line number Diff line number Diff line change @@ -520,7 +520,7 @@ public function get_phpfile_location($treeish=true) {
520520 'it is unable to differentiate core plugins from activity modules. ' .
521521 'Using normalize_component() is not reliable much because it depends ' .
522522 'on the site version and may be wrong for older/newer versions ' );
523- list ($ type , $ plugin ) = normalize_component ($ this ->name );
523+ list ($ type , $ plugin ) = \core_component:: normalize_component ($ this ->name );
524524 if ($ type === 'core ' ) {
525525 return 'lang/ ' . $ this ->lang . '/ ' . $ this ->name . '.php ' ;
526526 } else {
You can’t perform that action at this time.
0 commit comments