removed mods directory from the ATutor codebase
[atutor.git] / mods / wiki / plugins / action / raw.php
diff --git a/mods/wiki/plugins/action/raw.php b/mods/wiki/plugins/action/raw.php
deleted file mode 100644 (file)
index b6a66c9..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-<?php
-
-/*
-   Allows to retrieve pages in raw Wiki source format using an URL
-   like 'http://example.com/wiki/?id=raw/ThatPage'
-*/
-
-$ewiki_config["action_links"]["view"]["raw"] = "raw";
-$ewiki_config["action_links"]["info"]["raw"] = "raw";
-
-$ewiki_plugins["action"]["raw"] = "ewiki_action_raw";
-function ewiki_action_raw($id, &$data, $action) {
-
-   #-- MIME type
-   header('Content-Type: text/wiki; variant="ewiki"; charset="ISO-8859-1"');
-
-   #-- wiki magic number, http://www.emacswiki.org/cgi-bin/community/WikiMime
-// echo "#!wiki ewiki http://ewiki.berlios.de/WikiMarkup\n";
-
-   #-- output raw page text / source
-   echo $data["content"];
-   die();
-}
-
-?>
\ No newline at end of file