-
Bug
-
Resolution: Won't Do
-
Minor
-
None
-
2.5
-
MOODLE_25_STABLE
From petr's comment on MDL-40039
"if (empty($fileinfo['contextid']))". I believe this hack should be moved to get_context_from_params(). At the same time the get_context_from_params() should not hardcode the parameter names, there might be multiple context parameters in one external method or they might be named in some other way.