Commit Graph

28 Commits

Author SHA1 Message Date
moodler f466b19ca6 chaning require_once to include_once to tolerate faulty mods 2007-03-08 03:28:09 +00:00
moodler c8f1d1ca37 Added extra conditions to loops to prevent infinite loops
ref the same fix made for daily loops already:

   http://moodle.cvs.sourceforge.net/moodle/moodle/lib/statslib.php?r1=1.21.2.4&r2=1.21.2.5
2006-10-03 01:44:15 +00:00
moodler 51034f13f8 In rare cases (some timezones?) this while loop went forever because
$timestart == $nextmidnight

which led to disks filling up   :-(
2006-08-14 15:19:36 +00:00
skodak fdfffda00f Bug #5974 - Course overview report should not error when stats are not up to date; fixed by changing the return value from stats_check_uptodate(), NULL is now OK, string value describes error and adding notify() where needed 2006-07-03 15:42:29 +00:00
skodak bce3627ed9 Bug #4647 - Undefined property in lib/statslib.php 2006-05-26 08:59:52 +00:00
toyomoyo 4da8b58b36 forgot to check this in 2006-05-25 01:43:32 +00:00
tjhunt e1b8eb512c Convert tabs to spaces in files where there were only a few rogue tabs. 2006-05-17 16:37:14 +00:00
skodak 3f73372fe5 fixed warning when no stats data yet 2006-04-26 21:13:45 +00:00
skodak d850b4e621 typo in switch 2006-04-22 13:38:24 +00:00
mjollnir_ 9ec656750e More time fixes for stats - under certain dst situations there could have been an infinite loop. Please someone who is clever about timezones & dst review this 2006-03-24 20:43:38 +00:00
mjollnir_ 68d9654316 Display fix to stats 2005-11-16 19:49:07 +00:00
mjollnir_ 9afaefaa1f Adding threshold to most active courses (Weighted) 2005-11-04 00:51:42 +00:00
mjollnir_ e7202b3fd2 Adding missing stats string; fixing weird bug for when stats starts processing from now rather than all 2005-11-03 22:57:14 +00:00
mjollnir_ 7b89e1898f Admin setting for stats: ranked courses get userthreshold 2005-11-03 22:45:35 +00:00
mjollnir_ e15df3562f Stats display fix for ranked courses: enrolments and active users should
be max() not sum()
2005-11-03 22:22:05 +00:00
mjollnir_ 42307c47b2 Fixing bug 4259: statslib infinite loop on php 5.1 date/time changes. Credit: Samuli Karevaara (great catch!) 2005-11-02 22:20:35 +00:00
mjollnir_ 78c7303cb4 Fixing warnings in statslib. Bug # 4252, credit: samuli dot karevaara at lamk dot fi 2005-10-30 20:39:16 +00:00
mjollnir_ 4d8e4c38ae Better time handling for stats - ignores dst and no longer relies on 1 day to be +(60*60*24). Also fixes mysql incompatibility in reporting with ::real - bug # 4241 2005-10-27 20:41:49 +00:00
mjollnir_ 3eb9babc71 Some fixes to stats (performance) and new reports for ranking courses based on usage/particpation 2005-10-16 20:55:40 +00:00
mjollnir_ 3a317277b6 Many small fixes to stats, including aggregate activity across all courses when querying for SITEID 2005-10-13 03:16:11 +00:00
mjollnir_ 5ed4dd5a76 Stats: many bug fixes found while running over a very large dataset... 2005-10-11 01:20:37 +00:00
mjollnir_ 8b658d8abf Stats: fixing a display problem 2005-10-10 20:17:07 +00:00
mjollnir_ 4900433c84 More fixes to stats to do with runtimes 2005-10-10 00:46:44 +00:00
mjollnir_ 5560ed98c8 Various fixes to stats after our attempts to run it on a large real dataset 2005-10-04 20:25:31 +00:00
mjollnir_ 140c139e56 Various stats fixes - including putting the link to stats in admin block - which somebody had accidently (I presume) backed out during a conflict 2005-09-28 06:07:40 +00:00
mjollnir_ 9c5b82dd34 Fixing various small silly things in stats - runtime stuff and a couple PHP notices 2005-09-28 02:36:44 +00:00
mjollnir_ f2f3893c3b [STATS] Merging forgotten patch 2005-09-01 04:26:59 +00:00
mjollnir_ f3221af9e5 Initial checkin of stats (from processing the log table).
I will write up some information about it for the developers wiki.
2005-09-01 04:14:31 +00:00