From: Milton Zurita Date: Tue, 27 Sep 2016 03:36:29 +0000 (-0500) Subject: CRM-19303: X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=43d849873e9e06b7b9e73f67270cea496eace2a7;p=civicrm-core.git CRM-19303: Final Style Changes. Other warnings not in my modifications. Line# 40-51 --- diff --git a/CRM/Utils/System/DrupalBase.php b/CRM/Utils/System/DrupalBase.php index 1f50aa3d5b..62ddbbbdf7 100644 --- a/CRM/Utils/System/DrupalBase.php +++ b/CRM/Utils/System/DrupalBase.php @@ -623,18 +623,18 @@ abstract class CRM_Utils_System_DrupalBase extends CRM_Utils_System_Base { * @param $default string */ public function checkMultisite($root, $baseUrl, $default = "default") { - if(isset($this->filesUrl)) + if (isset($this->filesUrl)) return $this->filesUrl; $basepath = $this->checkBasePath($root); - $correct = null; + $correct = NULL; if ($this->checkFilesExists($root, $default)) { $correct = $default; } else { //Check for any other directories if default doesn't exist. $folders = scandir($basepath . 'sites/'); - foreach($folders as $folder) { + foreach ($folders as $folder) { //Ignore hidden directories/files... if (strpos($folder, '.') === 0 || $folder == 'all') continue; @@ -650,3 +650,4 @@ abstract class CRM_Utils_System_DrupalBase extends CRM_Utils_System_Base { } } } +}