removed mods directory from the ATutor codebase
[atutor.git] / mods / wiki / spages / HitCounter.php
diff --git a/mods/wiki/spages/HitCounter.php b/mods/wiki/spages/HitCounter.php
deleted file mode 100644 (file)
index 9ff7bca..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-<?php
-/*
-   this sums up all the hits from all pages, and prints the
-   overall score points
-*/
-
- echo ewiki_make_title($id, $id, 2);
-
- #-- loop thur all pages, and mk sum
- $n = 0;
- $result = ewiki_db::GETALL(array("hits"));
- while ($r = $result->get()) {
-    if ($r["flags"] & EWIKI_DB_F_TEXT) {
-      $n += $r["hits"];
-    }
- }
-
- #-- output
- $AllPages = '<a href="'. ewiki_script("", "PageIndex") .'">AllPages</a>';
- echo <<< EOT
-$title
-The overall hit score of $AllPages is:
-<div class="counter">
-  $n
-</div>
-EOT;
-
-?>
\ No newline at end of file