Skip to content
Browse files

Maths: Do not show settings link in RSS/Atom feeds #4057

  • Loading branch information...
1 parent a9c6d45 commit 253f4a20c5b0ac5678dcee06bcc30a0622af6814 @sammarshallou sammarshallou committed
Showing with 10 additions and 4 deletions.
  1. +9 −3 feed.php
  2. +1 −1 version.php
View
12 feed.php
@@ -16,9 +16,9 @@
/**
* Serve Atom/RSS feed.
- * @package mod
- * @subpackage forumng
- * @copyright 2011 The Open University
+ *
+ * @package mod_forumng
+ * @copyright 2012 The Open University
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
@@ -109,6 +109,12 @@
}
header('Last-Modified: ' .gmdate('D, d M Y H:i:s', $latest) . ' GMT');
+// This variable is used by the MathML filter so that we can make it do
+// different things with RSS feed output (basically it turns off everything
+// clever and uses an image).
+global $ou_feed_output;
+$ou_feed_output = true;
+
// Check they still have permission to the forum.
// Note that making these checks is a bit expensive so we might have
// a performance concern, will deal with that later if needed. This is done
View
2 version.php
@@ -22,7 +22,7 @@
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
-$module->version = 2012081300;
+$module->version = 2012081301;
$module->requires = 2011120100;
$module->cron = 60;

0 comments on commit 253f4a2

Please sign in to comment.
Something went wrong with that request. Please try again.