Commit 406dc626 authored by Robert Lyon's avatar Robert Lyon Committed by Dmitrii Metelkin
Browse files

Bug 1578000: fix PHP fatal error when deleting a profile icon.

behatnotneeded: Tested will be added in another patch.

Change-Id: Ibb68614d6704df0e13d4a8e0c9e321e7afc39689
parent c8dbcce7
......@@ -305,6 +305,7 @@ function settings_submit_default(Pieform $form, $values) {
}
function settings_submit_delete(Pieform $form, $values) {
require_once(get_config('docroot') . 'artefact/lib.php');
require_once('file.php');
global $USER, $SESSION;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment