Fix "No space found after comma in function call"

This commit is contained in:
Bart Visscher 2012-12-14 22:52:40 +01:00
parent 9f5868cf18
commit 8256650da8
5 changed files with 6 additions and 6 deletions

View File

@ -29,6 +29,6 @@ $tmpl = new OCP\Template('files_external', 'settings');
$tmpl->assign('isAdminPage', false, false);
$tmpl->assign('mounts', OC_Mount_Config::getPersonalMountPoints());
$tmpl->assign('certs', OC_Mount_Config::getCertificates());
$tmpl->assign('dependencies', OC_Mount_Config::checkDependencies(),false);
$tmpl->assign('dependencies', OC_Mount_Config::checkDependencies(), false);
$tmpl->assign('backends', $backends);
return $tmpl->fetchPage();

View File

@ -30,6 +30,6 @@ $tmpl->assign('mounts', OC_Mount_Config::getSystemMountPoints());
$tmpl->assign('backends', OC_Mount_Config::getBackends());
$tmpl->assign('groups', OC_Group::getGroups());
$tmpl->assign('users', OCP\User::getUsers());
$tmpl->assign('dependencies', OC_Mount_Config::checkDependencies(),false);
$tmpl->assign('dependencies', OC_Mount_Config::checkDependencies(), false);
$tmpl->assign('allowUserMounting', OCP\Config::getAppValue('files_external', 'allow_user_mounting', 'yes'));
return $tmpl->fetchPage();

View File

@ -133,7 +133,7 @@ abstract class Access {
'\"' => '\5c22',
'\#' => '\5c23',
);
$dn = str_replace(array_keys($replacements),array_values($replacements), $dn);
$dn = str_replace(array_keys($replacements), array_values($replacements), $dn);
return $dn;
}

View File

@ -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;
}

View File

@ -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;
}
}