mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
fix syntax error
This commit is contained in:
parent
0366c782f1
commit
77aa0ebe09
@ -140,6 +140,13 @@ namespace model {
|
||||
return select;
|
||||
}
|
||||
|
||||
size_t User::updatePrivkey() {
|
||||
lock();
|
||||
if (mPrivateKey.isNull()) return 0;
|
||||
auto result = updateIntoDB("privkey", mPrivateKey.value());
|
||||
unlock();
|
||||
return result;
|
||||
}
|
||||
|
||||
/*
|
||||
std::string mEmail;
|
||||
|
||||
@ -43,7 +43,7 @@ namespace model {
|
||||
std::string toHTMLString();
|
||||
|
||||
// specific db operation
|
||||
inline size_t updatePrivkey() { lock(); auto result = updateIntoDB("privkey", mPrivateKey); unlock(); return result; }
|
||||
size_t updatePrivkey();
|
||||
|
||||
|
||||
// default getter unlocked
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user