MDL-20787 final switch to new $OUTPUT->pix_url() - yay!

This commit is contained in:
Petr Skoda 2009-12-16 21:50:45 +00:00
parent cb1e046d6e
commit b5d0cafc6f
157 changed files with 576 additions and 576 deletions

View file

@ -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'));