projects
/
scpubgit/stemmatology.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
2d9c590
)
remove tradition from old user too
tla [Mon, 9 Feb 2015 12:22:29 +0000 (13:22 +0100)]
persistence/lib/Text/Tradition/Directory.pm
patch
|
blob
|
blame
|
history
diff --git
a/persistence/lib/Text/Tradition/Directory.pm
b/persistence/lib/Text/Tradition/Directory.pm
index
451fbf4
..
c57115b
100644
(file)
--- a/
persistence/lib/Text/Tradition/Directory.pm
+++ b/
persistence/lib/Text/Tradition/Directory.pm
@@
-582,9
+582,10
@@
sub _find_gplus {
});
foreach my $t (@{ $user->traditions }) {
+ $user->remove_tradition($t);
$new_user->add_tradition($t);
}
- $self->update(@{ $user->traditions });
+ $self->update($user);
$self->update($new_user);
# $self->delete_user({ username => $user->id });