Fix "No space found after comma in function call"
This commit is contained in:
parent
9f5868cf18
commit
8256650da8
|
@ -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();
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue