removed mods directory from the ATutor codebase
[atutor.git] / mods / wiki / fragments / rss.php
diff --git a/mods/wiki/fragments/rss.php b/mods/wiki/fragments/rss.php
deleted file mode 100644 (file)
index ea88091..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-<?php
-/*
-  This script provides an RSS feed for your Wiki, if invoked from outside.
-  It itself makes use of the plugins/lib/feed.php extension, which you
-  should rather use from now on. (URL param support was dropped).
-
-  Please define EWIKI_SCRIPT_URL correctly, before using this!
-*/
-
-#-- load ewiki
-chdir("..");
-require("config.php");
-
-#-- load RSS libs
-if (!function_defined("ewiki_feed")) {
-   include("plugins/lib/feed.php");
-}
-if (!function_defined("ewiki_action_rss")) {
-   include("plugins/action/rss.php");
-}
-
-#-- send RSS
-$_SERVER["HTTP_ACCEPT"] .= ", application/rss+xml; revision=2.0";  // for the lazy
-$data = false;
-ewiki_action_rss($id="RSS", $data, $action="rss");
-
-?>
\ No newline at end of file