From: Sam Hemelryk <sam@moodle.com> Date: Thu, 19 Nov 2009 02:05:35 +0000 (+0000) Subject: security MDL-18807 Fixed deprecated function in notification X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=f21b95904ab2f4b806a116c177de159e70c93fc5;p=moodle.git security MDL-18807 Fixed deprecated function in notification --- diff --git a/admin/index.php b/admin/index.php index ed3727e83c..909bfe3d69 100644 --- a/admin/index.php +++ b/admin/index.php @@ -369,7 +369,7 @@ if ($insecuredataroot == INSECURE_DATAROOT_WARNING) { } if (empty($CFG->passwordsaltmain)) { - print_box(get_string('upgrade197notice', 'admin')."\n".get_string('upgrade197salt', 'admin', get_docs_url('report/security/report_security_check_passwordsaltmain'))); + echo $OUTPUT->box(get_string('upgrade197notice', 'admin')."\n".get_string('upgrade197salt', 'admin', get_docs_url('report/security/report_security_check_passwordsaltmain')), 'generalbox adminwarning'); } if (defined('WARN_DISPLAY_ERRORS_ENABLED')) {