MDL-19211 back to the old text format preferences logic + minor refactoring and improvements

This commit is contained in:
Petr Skoda
2010-07-10 12:12:59 +00:00
parent e065ea4f06
commit 20e5da7d91
19 changed files with 126 additions and 151 deletions
-5
View File
@@ -34,11 +34,6 @@ if ($confirm and !empty($msg) and confirm_sesskey()) {
redirect($return);
}
// disable html editor if not enabled in preferences
if (!get_user_preferences('message_usehtmleditor', 0)) {
$CFG->htmleditor = '';
}
$msgform = new user_message_form('user_bulk_message.php');
if ($msgform->is_cancelled()) {