From a26ef8784044b72d054c4942598650040b51b18c Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Mon, 5 Jul 2010 13:39:53 +0200 Subject: Fix some database errors --- inc/lib_log.php | 1 - 1 file changed, 1 deletion(-) (limited to 'inc/lib_log.php') diff --git a/inc/lib_log.php b/inc/lib_log.php index f163fb9fe94..ce46e9a683d 100755 --- a/inc/lib_log.php +++ b/inc/lib_log.php @@ -69,7 +69,6 @@ class OC_LOG { $user=$_SESSION['username_clean']; $result = OC_DB::select('select `timestamp`,`user`,`type`,`message` from '.$CONFIG_DBTABLEPREFIX.'log where user=\''.$user.'\' order by timestamp desc limit 20'); } - $result = OC_DB::select($query); foreach($result as $entry){ echo(''); echo(''.date($CONFIG_DATEFORMAT,$entry['timestamp']).''); -- cgit v1.2.3