Skip to content

Commit 43d8498

Browse files
Milton Zuritaseamuslee001
Milton Zurita
authored andcommitted
CRM-19303:
Final Style Changes. Other warnings not in my modifications. Line# 40-51
1 parent 0fb2ca0 commit 43d8498

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

CRM/Utils/System/DrupalBase.php

+4-3
Original file line numberDiff line numberDiff line change
@@ -623,18 +623,18 @@ private function getUrl($baseUrl, $folder) {
623623
* @param $default string
624624
*/
625625
public function checkMultisite($root, $baseUrl, $default = "default") {
626-
if(isset($this->filesUrl))
626+
if (isset($this->filesUrl))
627627
return $this->filesUrl;
628628

629629
$basepath = $this->checkBasePath($root);
630-
$correct = null;
630+
$correct = NULL;
631631
if ($this->checkFilesExists($root, $default)) {
632632
$correct = $default;
633633
}
634634
else {
635635
//Check for any other directories if default doesn't exist.
636636
$folders = scandir($basepath . 'sites/');
637-
foreach($folders as $folder) {
637+
foreach ($folders as $folder) {
638638
//Ignore hidden directories/files...
639639
if (strpos($folder, '.') === 0 || $folder == 'all')
640640
continue;
@@ -650,3 +650,4 @@ public function checkMultisite($root, $baseUrl, $default = "default") {
650650
}
651651
}
652652
}
653+
}

0 commit comments

Comments
 (0)