Skip to content

Commit

Permalink
Cutting down on some of the debug logging
Browse files Browse the repository at this point in the history
  • Loading branch information
machristie committed Jul 5, 2017
1 parent 702377a commit b2d5a2c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/libraries/Keycloak/Keycloak.php
Expand Up @@ -228,7 +228,7 @@ public function getRefreshedOAuthToken($refresh_token){

//Parse JSON return object.
$result = json_decode($response);
Log::debug("getRefreshedOAuthToken response", array($result));
// Log::debug("getRefreshedOAuthToken response", array($result));

return $result;
}
Expand Down Expand Up @@ -443,7 +443,7 @@ private function getOpenIDConnectDiscoveryConfiguration() {

$json = json_decode($result);

Log::debug("openid connect discovery configuration", array($json));
// Log::debug("openid connect discovery configuration", array($json));
return $json;
}
}
2 changes: 1 addition & 1 deletion app/libraries/SharingUtilities.php
Expand Up @@ -107,7 +107,7 @@ public static function getUserProfiles($uids) {
// FIXME: instead of loading all user profiles it would be better to
// have the user search for users and just load profiles matching the search
$all_profiles = SharingUtilities::convertUserProfilesToSharingProfiles(UserProfileUtilities::get_all_user_profiles(0, 100000));
Log::debug("all_profiles", array($all_profiles));
// Log::debug("all_profiles", array($all_profiles));
$uids = array_filter($uids, function($uid) use ($all_profiles) {
return ($uid !== Session::get('username') && array_key_exists($uid, $all_profiles));
});
Expand Down

0 comments on commit b2d5a2c

Please sign in to comment.