summaryrefslogtreecommitdiffstats
path: root/inc
diff options
context:
space:
mode:
authorAldo "xoen" Giambelluca <xoen@xoen.org>2010-07-04 07:39:26 +0200
committerAldo "xoen" Giambelluca <xoen@xoen.org>2010-07-04 07:39:26 +0200
commit78cc98e4ea73daa9717297dab800c55edfc61ee5 (patch)
treea78dbf0e1ef77bc22fcb479f1f95e261c24f48e0 /inc
parent2fe595d10915afe27ba3a55eeb78bfe0be094f9b (diff)
downloadnextcloud-server-78cc98e4ea73daa9717297dab800c55edfc61ee5.tar.gz
nextcloud-server-78cc98e4ea73daa9717297dab800c55edfc61ee5.zip
Changed table name from Log to log in 'inc/lib_log.php'
Diffstat (limited to 'inc')
-rwxr-xr-xinc/lib_log.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/lib_log.php b/inc/lib_log.php
index 8ece1a498ab..675f1c0b75c 100755
--- a/inc/lib_log.php
+++ b/inc/lib_log.php
@@ -49,7 +49,7 @@ class OC_LOG {
*/
public static function event($user, $type, $message){
global $CONFIG_DBTABLEPREFIX;
- $dbTableLog = $CONFIG_DBTABLEPREFIX . 'Log';
+ $dbTableLog = $CONFIG_DBTABLEPREFIX . 'log';
$query = 'insert into ' . $dbTableLog . ' (timestamp,user,type,message) values
("' . time() . '","' . addslashes($user) . '","' . addslashes($type) . '","' . addslashes($message) . '")';
$result = OC_DB::query($query);
@@ -66,7 +66,7 @@ class OC_LOG {
global $CONFIG_DBTABLEPREFIX;
echo('<div class="center"><table cellpadding="6" cellspacing="0" border="0" class="log">');
- $dbTableLog = $CONFIG_DBTABLEPREFIX . 'Log';
+ $dbTableLog = $CONFIG_DBTABLEPREFIX . 'log';
if(OC_USER::ingroup($_SESSION['username_clean'],'admin')){
$query = "select timestamp,user,type,message from $dbTableLog order by timestamp desc limit 20";
}else{