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('isAdminPage', false, false);
|
||||||
$tmpl->assign('mounts', OC_Mount_Config::getPersonalMountPoints());
|
$tmpl->assign('mounts', OC_Mount_Config::getPersonalMountPoints());
|
||||||
$tmpl->assign('certs', OC_Mount_Config::getCertificates());
|
$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);
|
$tmpl->assign('backends', $backends);
|
||||||
return $tmpl->fetchPage();
|
return $tmpl->fetchPage();
|
||||||
|
|
|
@ -30,6 +30,6 @@ $tmpl->assign('mounts', OC_Mount_Config::getSystemMountPoints());
|
||||||
$tmpl->assign('backends', OC_Mount_Config::getBackends());
|
$tmpl->assign('backends', OC_Mount_Config::getBackends());
|
||||||
$tmpl->assign('groups', OC_Group::getGroups());
|
$tmpl->assign('groups', OC_Group::getGroups());
|
||||||
$tmpl->assign('users', OCP\User::getUsers());
|
$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'));
|
$tmpl->assign('allowUserMounting', OCP\Config::getAppValue('files_external', 'allow_user_mounting', 'yes'));
|
||||||
return $tmpl->fetchPage();
|
return $tmpl->fetchPage();
|
||||||
|
|
|
@ -133,7 +133,7 @@ abstract class Access {
|
||||||
'\"' => '\5c22',
|
'\"' => '\5c22',
|
||||||
'\#' => '\5c23',
|
'\#' => '\5c23',
|
||||||
);
|
);
|
||||||
$dn = str_replace(array_keys($replacements),array_values($replacements), $dn);
|
$dn = str_replace(array_keys($replacements), array_values($replacements), $dn);
|
||||||
|
|
||||||
return $dn;
|
return $dn;
|
||||||
}
|
}
|
||||||
|
|
|
@ -540,7 +540,7 @@ class OC_Helper {
|
||||||
mkdir($tmpDirNoClean);
|
mkdir($tmpDirNoClean);
|
||||||
}
|
}
|
||||||
$file=$tmpDirNoClean.md5(time().rand()).$postfix;
|
$file=$tmpDirNoClean.md5(time().rand()).$postfix;
|
||||||
$fh=fopen($file,'w');
|
$fh=fopen($file, 'w');
|
||||||
fclose($fh);
|
fclose($fh);
|
||||||
return $file;
|
return $file;
|
||||||
}
|
}
|
||||||
|
|
|
@ -294,12 +294,12 @@ class OC_L10N{
|
||||||
}
|
}
|
||||||
foreach($accepted_languages as $i) {
|
foreach($accepted_languages as $i) {
|
||||||
$temp = explode(';', $i);
|
$temp = explode(';', $i);
|
||||||
$temp[0] = str_replace('-','_',$temp[0]);
|
$temp[0] = str_replace('-', '_', $temp[0]);
|
||||||
if( ($key = array_search($temp[0], $available)) !== false) {
|
if( ($key = array_search($temp[0], $available)) !== false) {
|
||||||
return $available[$key];
|
return $available[$key];
|
||||||
}
|
}
|
||||||
foreach($available as $l) {
|
foreach($available as $l) {
|
||||||
if ( $temp[0] == substr($l,0,2) ) {
|
if ( $temp[0] == substr($l, 0, 2) ) {
|
||||||
return $l;
|
return $l;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue