mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-20787 final switch to new $OUTPUT->pix_url() - yay!
This commit is contained in:
parent
cb1e046d6e
commit
b5d0cafc6f
157 changed files with 576 additions and 576 deletions
|
@ -12,7 +12,7 @@ define('NO_DEBUG_DISPLAY', true);
|
|||
if (!empty($CFG->forcelogin) and !isloggedin()) {
|
||||
// protect images if login required and not logged in;
|
||||
// do not use require_login() because it is expensive and not suitable here anyway
|
||||
redirect($OUTPUT->old_icon_url('u/f1'));
|
||||
redirect($OUTPUT->pix_url('u/f1'));
|
||||
}
|
||||
|
||||
$relativepath = get_file_argument();
|
||||
|
@ -32,4 +32,4 @@ define('NO_DEBUG_DISPLAY', true);
|
|||
}
|
||||
|
||||
// picture was deleted - use default instead
|
||||
redirect($OUTPUT->old_icon_url('u/f1'));
|
||||
redirect($OUTPUT->pix_url('u/f1'));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue