From 2a68c5d9b94a7f218bc86f2727a5389b289e70df Mon Sep 17 00:00:00 2001 From: scyrma Date: Wed, 3 Sep 2008 03:09:56 +0000 Subject: [PATCH] MDL-16318: remove a few calls use_html_editor() (more to come) --- admin/maintenance.php | 4 ---- admin/roles/manage.php | 4 ---- admin/settings.php | 4 ---- admin/upgradesettings.php | 4 ---- blocks/html/config_instance.html | 4 ---- calendar/event.php | 3 --- lib/questionlib.php | 4 ---- 7 files changed, 27 deletions(-) diff --git a/admin/maintenance.php b/admin/maintenance.php index dc6729e890..1364ba4752 100644 --- a/admin/maintenance.php +++ b/admin/maintenance.php @@ -59,10 +59,6 @@ echo ''; echo ''; echo ''; - - if ($usehtmleditor) { - use_html_editor(); - } } admin_externalpage_print_footer(); diff --git a/admin/roles/manage.php b/admin/roles/manage.php index 11c0e2a09c..1ed02410ac 100755 --- a/admin/roles/manage.php +++ b/admin/roles/manage.php @@ -500,10 +500,6 @@ include_once('manage.html'); print_simple_box_end(); - if ($usehtmleditor) { - use_html_editor('description'); - } - } else { print_heading_with_help(get_string('roles', 'role'), 'roles'); diff --git a/admin/settings.php b/admin/settings.php index 1ee4358284..0edb1120cd 100644 --- a/admin/settings.php +++ b/admin/settings.php @@ -163,10 +163,6 @@ if (empty($SITE->fullname)) { echo ''; } -if (!empty($CFG->adminusehtmleditor)) { - use_html_editor(); -} - print_footer(); ?> diff --git a/admin/upgradesettings.php b/admin/upgradesettings.php index 2f23407626..d5973418d1 100644 --- a/admin/upgradesettings.php +++ b/admin/upgradesettings.php @@ -63,10 +63,6 @@ echo '
- diff --git a/calendar/event.php b/calendar/event.php index 05bdef9ce9..a8a4bd2ca7 100644 --- a/calendar/event.php +++ b/calendar/event.php @@ -519,9 +519,6 @@ } else { include('event_new.html'); - if ($usehtmleditor) { - use_html_editor("description"); - } } break; diff --git a/lib/questionlib.php b/lib/questionlib.php index 35d1a30cfc..e304dbb77f 100644 --- a/lib/questionlib.php +++ b/lib/questionlib.php @@ -1674,10 +1674,6 @@ function question_print_comment_box($question, $state, $attempt, $url) { echo ''; echo ''; echo ''; - - if ($usehtmleditor) { - use_html_editor(); - } } /** -- 2.39.5