Skip to content
Snippets Groups Projects
Commit 1205749f authored by Felix Moeller's avatar Felix Moeller
Browse files

Checkstyle: Fix the last two SpaceBeforeOpenBrace

parent 8ac3849a
No related branches found
No related tags found
No related merge requests found
...@@ -46,7 +46,7 @@ class OC_FileStorage_DAV extends OC_Filestorage_Common{ ...@@ -46,7 +46,7 @@ class OC_FileStorage_DAV extends OC_Filestorage_Common{
if($caview = \OCP\Files::getStorage('files_external')) { if($caview = \OCP\Files::getStorage('files_external')) {
$certPath=\OCP\Config::getSystemValue('datadirectory').$caview->getAbsolutePath("").'rootcerts.crt'; $certPath=\OCP\Config::getSystemValue('datadirectory').$caview->getAbsolutePath("").'rootcerts.crt';
if (file_exists($certPath)) { if (file_exists($certPath)) {
$this->client->addTrustedCertificates($certPath); $this->client->addTrustedCertificates($certPath);
} }
} }
......
...@@ -559,7 +559,7 @@ class OC_Util { ...@@ -559,7 +559,7 @@ class OC_Util {
// creating a test file // creating a test file
$testfile = OC_Config::getValue( "datadirectory", OC::$SERVERROOT."/data" ).'/'.$filename; $testfile = OC_Config::getValue( "datadirectory", OC::$SERVERROOT."/data" ).'/'.$filename;
if(file_exists($testfile)){// already running this test, possible recursive call if(file_exists($testfile)) {// already running this test, possible recursive call
return false; return false;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment