removed mods directory from the ATutor codebase
[atutor.git] / mods / hello_world / module_news.php
diff --git a/mods/hello_world/module_news.php b/mods/hello_world/module_news.php
deleted file mode 100644 (file)
index 471b3d2..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-<?php
-/*
-* Rename the function to match the name of the module. Names of all news functions must be unique
-* across all modules installed on a system. Return a variable called $news
-*/
-
-function helloworld_news() {
-       global $db;
-       $sql = "SELECT something FROM a table WHERE date < NOW() LIMIT 3";
-       if ($result = mysql_query($sql, $db)) {
-               while($row = mysql_fetch_assoc($result)){
-                       $news[] = $row['something'];
-               }
-       }
-       return $news;
-}
-
-?>