move user configuration to pbs_config workspace
Also moved memcom.rs and cached_user_info.rs
This commit is contained in:
1 parent
b65dfff574
commit
ba3d7e19fb
42 files changed
+87
-86
No files matched your search
@@ -548,7 +548,7 @@ pub fn send_updates_available(
|
||||
/// Lookup users email address
|
||||
pub fn lookup_user_email(userid: &Userid) -> Option<String> {
|
||||
|
||||
if let Ok(user_config) = crate::config::user::cached_config() {
|
||||
if let Ok(user_config) = pbs_config::user::cached_config() {
|
||||
if let Ok(user) = user_config.lookup::<User>("user", userid.as_str()) {
|
||||
return user.email;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user