summaryrefslogtreecommitdiffstats
path: root/lib/log/owncloud.php
diff options
context:
space:
mode:
authorFelix Moeller <mail@felixmoeller.de>2012-11-04 11:10:46 +0100
committerFelix Moeller <mail@felixmoeller.de>2012-11-04 11:10:46 +0100
commit30d7993e0105a6c98cbf61d4253d08acf236aca7 (patch)
treebbf0cf871a65a2cb897f3a4ea405cf3ca3980c47 /lib/log/owncloud.php
parentf8d1d7787e1112842db81a629dfd84b586fbebda (diff)
downloadnextcloud-server-30d7993e0105a6c98cbf61d4253d08acf236aca7.tar.gz
nextcloud-server-30d7993e0105a6c98cbf61d4253d08acf236aca7.zip
Checkstyle fixes: NoSpaceAfterComma
Diffstat (limited to 'lib/log/owncloud.php')
-rw-r--r--lib/log/owncloud.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/log/owncloud.php b/lib/log/owncloud.php
index d4644163ad5..ec43208d833 100644
--- a/lib/log/owncloud.php
+++ b/lib/log/owncloud.php
@@ -44,9 +44,9 @@ class OC_Log_Owncloud {
* @param int level
*/
public static function write($app, $message, $level) {
- $minLevel=min(OC_Config::getValue( "loglevel", OC_Log::WARN ),OC_Log::ERROR);
+ $minLevel=min(OC_Config::getValue( "loglevel", OC_Log::WARN ), OC_Log::ERROR);
if($level>=$minLevel) {
- $entry=array('app'=>$app, 'message'=>$message, 'level'=>$level,'time'=>time());
+ $entry=array('app'=>$app, 'message'=>$message, 'level'=>$level, 'time'=>time());
$fh=fopen(self::$logFile, 'a');
fwrite($fh, json_encode($entry)."\n");
fclose($fh);