From 4c86dda63efb35574c6a3e3675d1cb7f034f7133 Mon Sep 17 00:00:00 2001 From: martin Date: Mon, 3 Jun 2002 10:42:20 +0000 Subject: [PATCH] Not needed any more ... use the "News" forum instead. --- course/email.html | 32 ------------------------------- course/email.php | 48 ----------------------------------------------- 2 files changed, 80 deletions(-) delete mode 100644 course/email.html delete mode 100644 course/email.php diff --git a/course/email.html b/course/email.html deleted file mode 100644 index 919acff069..0000000000 --- a/course/email.html +++ /dev/null @@ -1,32 +0,0 @@ -
- - - - - - - - - - - - -
-

Subject:

-
- -
-

Email:

-
- -
-  - -

- - - -

-
- -
diff --git a/course/email.php b/course/email.php deleted file mode 100644 index d729f2b4b2..0000000000 --- a/course/email.php +++ /dev/null @@ -1,48 +0,0 @@ -id); - - if (!isteacher($course->id)) { - error("Only teachers can send mail this way!"); - } - - -/// If data submitted, then process and store. - - if (match_referer() && isset($HTTP_POST_VARS)) { - - $link = "$CFG->wwwroot/course/view.php?id=$course->id"; - - //XXXX The following function is now wrong - needs fixing - //if (! email_to_course($USER, $course, true, $subject, $message, "$link")) { - // error("An error occurred while trying to send mail!"); - //} - - add_to_log($course->id, "course", "email", "email.php?id=$course->id", ""); - - redirect("view.php?id=$course->id", "Email sent", 1); - exit; - } - - - $form->id = $course->id; - - print_header("$course->shortname: Mail", "$course->fullname", - "wwwroot/course/view.php?id=$course->id\">$course->shortname -> Send mail"); - - print_heading("Send an email to all participants"); - - include("email.html"); - - print_footer($course); - - -?> -- 2.39.5