projects
/
scpubgit/stemmatology.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
e9b6e10
)
store the tradition's new owner as well as the owner's new tradition(s)
tla [Mon, 9 Feb 2015 12:35:57 +0000 (13:35 +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
c57115b
..
94ae530
100644
(file)
--- a/
persistence/lib/Text/Tradition/Directory.pm
+++ b/
persistence/lib/Text/Tradition/Directory.pm
@@
-582,8
+582,9
@@
sub _find_gplus {
});
foreach my $t (@{ $user->traditions }) {
- $user->remove_tradition($t);
+ $user->remove_tradition($t);
$new_user->add_tradition($t);
+ $self->update($t);
}
$self->update($user);
$self->update($new_user);