removed mods directory from the ATutor codebase
[atutor.git] / mods / wiki / fragments / blocks / printhint.php
diff --git a/mods/wiki/fragments/blocks/printhint.php b/mods/wiki/fragments/blocks/printhint.php
deleted file mode 100644 (file)
index cbad849..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-<?php
-/*
-   Loads the page named "UsageHints" and randomly selects a
-   paragraph to output.
-*/
-
-if (true) {
-   if ($data = ewiki_db::GET("UsageHints")) {
-   
-      $hints = preg_split("/\n+(---+\s*)?\n+/", trim($data["content"]));
-      $n = rand(0, count($hints)-1);
-      $text = $hints[$n];
-      
-      if ($text) {
-         echo ewiki_format($text);
-      }
-   }
-}
-
-?>
\ No newline at end of file