Permalink
Browse files

REmove debugging noise

  • Loading branch information...
flack committed Oct 22, 2017
1 parent 47a837b commit 678c5b0aea8c51f4684d3fb8400cb2fd5ffc9cab
Showing with 0 additions and 10 deletions.
  1. +0 −10 lib/midcom/services/auth/main.php
@@ -294,16 +294,6 @@ public function can_user_do($privilege, $user = null, $class = null)
$user = null;
}
if (!is_null($user)) {
if (is_object($class)) {
$classname = get_class($class);
} else {
$classname = $class;
}
debug_add("Querying privilege {$privilege} for user {$user->id} to class {$classname}");
}
return $this->acl->can_do_byclass($privilege, $user, $class);
}

0 comments on commit 678c5b0

Please sign in to comment.