Skip to content
Permalink
Browse files
Cutting down on some of the debug logging
  • Loading branch information
machristie committed Jul 5, 2017
1 parent 702377a commit b2d5a2c8ad0e1342bcd964a83c8b27192325aaaa
Showing 2 changed files with 3 additions and 3 deletions.
@@ -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;
}
@@ -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;
}
}
@@ -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));
});

0 comments on commit b2d5a2c

Please sign in to comment.