Removed a test line from glmMembersUserCan()
authorChuck Scott <cscott@gaslightmedia.com>
Thu, 13 Oct 2016 20:09:54 +0000 (16:09 -0400)
committerChuck Scott <cscott@gaslightmedia.com>
Thu, 13 Oct 2016 20:09:54 +0000 (16:09 -0400)
classes/glmPluginSupport.php

index bceff41..6ce8f5a 100644 (file)
@@ -511,7 +511,7 @@ function glmMembersUserCan( $cap, $permit )
     if (!isset($glmMembersCaps[$cap])) {
         return $permit;
     }
-trigger_error('TEST',E_USER_NOTICE);
+
     return current_user_can($cap);
 }