summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2012-12-14 22:52:40 +0100
committerBart Visscher <bartv@thisnet.nl>2012-12-15 00:43:46 +0100
commit8256650da881214e652353c9b79a5ba7964965e5 (patch)
tree80eb72a8aa10ec838624b3b3baad694bbd8d3d48 /lib
parent9f5868cf187fe0eedef79c9e468c589560bab1e0 (diff)
downloadnextcloud-server-8256650da881214e652353c9b79a5ba7964965e5.tar.gz
nextcloud-server-8256650da881214e652353c9b79a5ba7964965e5.zip
Fix "No space found after comma in function call"
Diffstat (limited to 'lib')
-rw-r--r--lib/helper.php2
-rw-r--r--lib/l10n.php4
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/helper.php b/lib/helper.php
index 5dec7fadfb4..be4e4e52677 100644
--- a/lib/helper.php
+++ b/lib/helper.php
@@ -540,7 +540,7 @@ class OC_Helper {
mkdir($tmpDirNoClean);
}
$file=$tmpDirNoClean.md5(time().rand()).$postfix;
- $fh=fopen($file,'w');
+ $fh=fopen($file, 'w');
fclose($fh);
return $file;
}
diff --git a/lib/l10n.php b/lib/l10n.php
index b83d8ff86db..cb67cfd4ed6 100644
--- a/lib/l10n.php
+++ b/lib/l10n.php
@@ -294,12 +294,12 @@ class OC_L10N{
}
foreach($accepted_languages as $i) {
$temp = explode(';', $i);
- $temp[0] = str_replace('-','_',$temp[0]);
+ $temp[0] = str_replace('-', '_', $temp[0]);
if( ($key = array_search($temp[0], $available)) !== false) {
return $available[$key];
}
foreach($available as $l) {
- if ( $temp[0] == substr($l,0,2) ) {
+ if ( $temp[0] == substr($l, 0, 2) ) {
return $l;
}
}