git.stg.codes
/
stg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f47613c
)
Set "deleted" flag for user before executing notifiers
author
Maxim Mamontov
<faust.madf@gmail.com>
Thu, 1 Sep 2011 13:26:35 +0000
(16:26 +0300)
committer
Maxim Mamontov
<faust.madf@gmail.com>
Thu, 1 Sep 2011 13:26:35 +0000
(16:26 +0300)
projects/stargazer/users_impl.cpp
patch
|
blob
|
history
diff --git
a/projects/stargazer/users_impl.cpp
b/projects/stargazer/users_impl.cpp
index 5ad112b9523aae65158d8aaebf0c9545a5ea45c5..fa7265600c578e3b6faa622235c6e2087fc45e37 100644
(file)
--- a/
projects/stargazer/users_impl.cpp
+++ b/
projects/stargazer/users_impl.cpp
@@
-228,6
+228,8
@@
if (!priv->userAddDel)
login.c_str());
return;
}
+
+ u->SetDeleted();
}
{
@@
-252,7
+254,6
@@
if (!priv->userAddDel)
STG_LOCKER lock(&mutex, __FILE__, __LINE__);
u->OnDelete();
- u->SetDeleted();
USER_TO_DEL utd;
utd.iter = u;