0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-29 08:54:02 +01:00

ircd:Ⓜ️:user::profile: Fix rogue definitions.

This commit is contained in:
Jason Volk 2019-07-14 19:50:19 -07:00
parent 2a8162b2b7
commit 0d375cc79c

View file

@ -3414,39 +3414,6 @@ const
}});
}
//
// user::profile
//
ircd::string_view
ircd::m::user::profile::get(const mutable_buffer &out,
const string_view &key)
const
{
string_view ret;
get(std::nothrow, key, [&out, &ret]
(const string_view &key, const string_view &val)
{
ret = { data(out), copy(out, val) };
});
return ret;
}
void
ircd::m::user::profile::get(const string_view &key,
const closure &closure)
const
{
if(!get(std::nothrow, key, closure))
throw m::NOT_FOUND
{
"Property %s in profile for %s not found",
key,
string_view{user.user_id}
};
}
//
// user::filter
//