projects
/
platal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f067a3d
)
Refetches session's user when she updates her bestalias.
author
Stéphane Jacob
<sj@m4x.org>
Mon, 7 Mar 2011 17:55:19 +0000
(18:55 +0100)
committer
Stéphane Jacob
<sj@m4x.org>
Mon, 7 Mar 2011 17:55:19 +0000
(18:55 +0100)
Signed-off-by: Stéphane Jacob <sj@m4x.org>
modules/email.php
patch
|
blob
|
blame
|
history
diff --git
a/modules/email.php
b/modules/email.php
index
f116ab5
..
21f251c
100644
(file)
--- a/
modules/email.php
+++ b/
modules/email.php
@@
-80,6
+80,8
@@
class EmailModule extends PLModule
// plat/al's code, we do an a posteriori check on the
// validity of the bestalias.
fix_bestalias($user);
+ // Then refetch the user to update its bestalias.
+ S::set('user', User::getWithUID(S::user()->id()));
}
// Fetch and display aliases.