removed mods directory from the ATutor codebase
[atutor.git] / mods / wiki / fragments / blocks / mainmenu.php
diff --git a/mods/wiki/fragments/blocks/mainmenu.php b/mods/wiki/fragments/blocks/mainmenu.php
deleted file mode 100644 (file)
index c096e86..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-<?php
-
-/*
-   Gets the first list of links from the page "MainMenu" and outputs
-   it. (verything else on that page gets stripped)
-*/
-
-
-if (true) {
-
-   $mm = ewiki_db::GET("MainMenu");
-
-   if ($mm = $mm["content"]) {
-      $mm = preg_replace("/^([^*]+[^\n]+)?\n/m", "", $mm);
-      $mm = ewiki_format($mm);
-      echo '<div class="MainMenu">' .  "\n" . $mm . "\n</div>\n";
-   }
-
-}
-
-
-?>
\ No newline at end of file