From 95b7315689e366c43fd41341b2aa507e950b9953 Mon Sep 17 00:00:00 2001 From: Chuck Scott Date: Thu, 27 Sep 2018 15:01:51 -0400 Subject: [PATCH] Removed debug text (1's) from getGitBranch() and an echo in admin controller. --- classes/glmPluginSupport.php | 2 +- controllers/admin.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) mode change 100644 => 100755 controllers/admin.php diff --git a/classes/glmPluginSupport.php b/classes/glmPluginSupport.php index 42d1e276..3db61967 100755 --- a/classes/glmPluginSupport.php +++ b/classes/glmPluginSupport.php @@ -168,7 +168,7 @@ return; // Off for now ** Need to make this switchable in management if (isset($gitParts[2])) { $gitBranch[$a['slug']]['branch'] = $gitParts[2]; } - echo 1; + // [3] should be name of feature if (isset($gitParts[3])) { $gitBranch[$a['slug']]['feature'] = $gitParts[3]; diff --git a/controllers/admin.php b/controllers/admin.php old mode 100644 new mode 100755 index 205a6a66..7e5bfc2a --- a/controllers/admin.php +++ b/controllers/admin.php @@ -322,7 +322,6 @@ class glmMembersAdmin extends GlmPluginSupport // Check if no matching action found if (!$actionFound) { $err = 'ERROR: The specified action is not valid - '.$glmAction; - echo $err; trigger_error ( $err, E_USER_ERROR); } @@ -729,6 +728,7 @@ class glmMembersAdmin extends GlmPluginSupport */ public function controller( $menuItem, $action = false, $actionData = false, $returnOutput = false, $forceAction = false ) { + if (GLM_MEMBERS_PLUGIN_ADMIN_DEBUG) { trigger_error(glmAssociateMemoryUsage()." - Start Admin Controller, Menu = $menuItem, Action = $action",E_USER_NOTICE); trigger_error(glmAssociateTimeTracker()." - Start Admin Controller",E_USER_NOTICE); -- 2.17.1