From 43d849873e9e06b7b9e73f67270cea496eace2a7 Mon Sep 17 00:00:00 2001 From: Milton Zurita Date: Mon, 26 Sep 2016 22:36:29 -0500 Subject: [PATCH] CRM-19303: Final Style Changes. Other warnings not in my modifications. Line# 40-51 --- CRM/Utils/System/DrupalBase.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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 { } } } +} -- 2.25.1