]> git.mjollnir.org Git - moodle.git/commitdiff
security MDL-18807 Fixed deprecated function in notification
authorSam Hemelryk <sam@moodle.com>
Thu, 19 Nov 2009 02:05:35 +0000 (02:05 +0000)
committerSam Hemelryk <sam@moodle.com>
Thu, 19 Nov 2009 02:05:35 +0000 (02:05 +0000)
admin/index.php

index ed3727e83cb17bdf118d149e37d3bcc1dc64bf6a..909bfe3d69098e8c17f9a077e9d9133383c07a24 100644 (file)
@@ -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')) {