Skip to content

Instantly share code, notes, and snippets.

@pvhee
Created March 3, 2015 13:18
Show Gist options
  • Select an option

  • Save pvhee/278c3e6a3cd15796f4a7 to your computer and use it in GitHub Desktop.

Select an option

Save pvhee/278c3e6a3cd15796f4a7 to your computer and use it in GitHub Desktop.
remove_debug_message.patch
diff --git a/ldap_authorization/ldap_authorization_og/LdapAuthorizationConsumerOG.class.php b/ldap_authorization/ldap_authorization_og/LdapAuthorizationConsumerOG.class.php
index 4b3e429..ad405e0 100644
--- a/ldap_authorization/ldap_authorization_og/LdapAuthorizationConsumerOG.class.php
+++ b/ldap_authorization/ldap_authorization_og/LdapAuthorizationConsumerOG.class.php
@@ -553,7 +553,7 @@ class LdapAuthorizationConsumerOG extends LdapAuthorizationConsumerAbstract {
* - remove and grant og roles
* - flush appropriate caches
*/
- debug("og_actions"); debug($og_actions); debug("user_auth_data"); debug($user_auth_data);
+ //debug("og_actions"); debug($og_actions); debug("user_auth_data"); debug($user_auth_data);
if ($this->ogVersion == 1) {
$this->og1Grants($og_actions, $user, $user_auth_data);
$this->og1Revokes($og_actions, $user, $user_auth_data);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment