From: moodler <moodler>
Date: Fri, 22 Aug 2003 08:42:17 +0000 (+0000)
Subject: Upgraded the live log to use the new print_log
X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=fcd0e8edc72c3aad686fff3b150ed15fc4b103d5;p=moodle.git

Upgraded the live log to use the new print_log
---

diff --git a/course/loglive.php b/course/loglive.php
index a643335a5a..587ec251ae 100644
--- a/course/loglive.php
+++ b/course/loglive.php
@@ -25,7 +25,8 @@
     $user=0;
     $date=time() - 3600;
 
-    print_log($course, $user, $date, "ORDER BY l.time DESC");
+    print_log($course, $user, $date, "l.time DESC", 0, 500, 
+              "loglive.php?id=$course->id&user=$user&date=$date");
 
     exit;