Skip to content

Commit

Permalink
Cleaning up comments
Browse files Browse the repository at this point in the history
  • Loading branch information
rrivera747 committed Feb 17, 2025
1 parent 05cea53 commit b65f4cc
Showing 1 changed file with 0 additions and 42 deletions.
42 changes: 0 additions & 42 deletions otsdaq/WebUsersUtilities/WebUsers.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2043,48 +2043,6 @@ std::string WebUsers::getUsersUsername(uint64_t uid)
return Users_[i].username_;
} // end getUsersUsername()

/// //==============================================================================
/// // WebUsers::getUsersDisplayName --- public version which considers remote users
/// std::string WebUsers::getUsersDisplayName(uint64_t uid, uint64_t remoteSessionID)
// {
// uint64_t i;
// if((i = searchUsersDatabaseForUserId(uid)) == NOT_FOUND_IN_DATABASE)
// return "";
// return Users_[i].displayName_;
// } // end getUsersDisplayName()

/// //==============================================================================
/// // WebUsers::getUsersUsername --- public version which considers remote users
/// std::string WebUsers::getUsersUsername(uint64_t uid, uint64_t remoteSessionID)
// {
// if(uid == ACCOUNT_REMOTE) return getRemoteUsersUsername(remoteSessionID);

/// uint64_t i;
/// if((i = searchUsersDatabaseForUserId(uid)) == NOT_FOUND_IN_DATABASE)
/// return "";
/// return Users_[i].username_;
/// } // end getUsersUsername()
///
/// //==============================================================================
/// // WebUsers::getRemoteUsersDisplayName ---
/// std::string WebUsers::getRemoteUsersDisplayName(uint64_t remoteSessionID)
// {
// auto it = RemoteSessions_.find(remoteSessionID);
// if(it == RemoteSessions_.end())
// return "";
// return it->second.second.displayName_;
// } // end getRemoteUsersDisplayName()

/// //==============================================================================
/// // WebUsers::getRemoteUsersUsername ---
/// std::string WebUsers::getRemoteUsersUsername(uint64_t remoteSessionID)
// {
// auto it = RemoteSessions_.find(remoteSessionID);
// if(it == RemoteSessions_.end())
// return "";
// return it->second.second.username_;
// } // end getRemoteUsersUsername()

//==============================================================================
/// WebUsers::cookieCodeLogout ---
/// Used to logout user based on cookieCode and ActiveSessionIndex
Expand Down

0 comments on commit b65f4cc

Please sign in to comment.