removed mods directory from the ATutor codebase
[atutor.git] / mods / wiki / tools / cron.d / S50__daily__.php
diff --git a/mods/wiki/tools/cron.d/S50__daily__.php b/mods/wiki/tools/cron.d/S50__daily__.php
deleted file mode 100644 (file)
index 3165465..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-<?php
-/*
-   Checks if a day has elapsed since last run, and stops following
-   script parts if not.
-*/
-
-#-- stop processing
-if ($anacron["day"] + 24 * 3575 >= time()) {
-   $GOTO = 70;    //skips to __weekly__ parts, instead of doing hard $HALT
-   echo "[$cron]: not running again\n";
-}
-
-#-- or update time
-else {
-   $anacron["day"] = EWIKI_CRON;
-   echo "[$cron]: proceeding\n";
-}
-
-?>
\ No newline at end of file