From: Chuck Scott Date: Thu, 27 Sep 2018 19:01:51 +0000 (-0400) Subject: Removed debug text (1's) from getGitBranch() and an echo in admin controller. X-Git-Tag: v2.10.45^2~7 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=95b7315689e366c43fd41341b2aa507e950b9953;p=WP-Plugins%2Fglm-member-db.git Removed debug text (1's) from getGitBranch() and an echo in admin controller. --- 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);