Commit 3ca59924 authored by Robert Lyon's avatar Robert Lyon
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 367feb64
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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;