]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix "No space found after comma in function call"
authorBart Visscher <bartv@thisnet.nl>
Fri, 14 Dec 2012 21:52:40 +0000 (22:52 +0100)
committerBart Visscher <bartv@thisnet.nl>
Fri, 14 Dec 2012 23:43:46 +0000 (00:43 +0100)
apps/files_external/personal.php
apps/files_external/settings.php
apps/user_ldap/lib/access.php
lib/helper.php
lib/l10n.php

index 509c2977622817a2cc1b2ff2b431b70a7607f9b5..4215b28787e87e00dceb91ab4ed4d449fc1466bf 100755 (executable)
@@ -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();
index 94222149a38e25debb9d8d619261403a17b4ff85..2f239f7cb950bf1d331176cd07badd1d55a100ce 100644 (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();
index 00183ac181b3761a703ec301e60a9bf0ebdd8f68..91f56ad882e8af5abe0eeae9b40757b04fc6bc4e 100644 (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;
        }
index 5dec7fadfb489132f28a843072ddf82fef3b08da..be4e4e526774547f5ed638dcb459deafc7cf962b 100644 (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;
        }
index b83d8ff86db265a59d46cc51a56e1c6f1f7e706b..cb67cfd4ed6fef73d0a517cde4841141b100c5a0 100644 (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;
                                        }
                                }