projects
/
scpubgit/stemmaweb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
1c65af4
)
Don't delete old users
Errietta Kostala [Wed, 4 Feb 2015 14:34:15 +0000 (14:34 +0000)]
lib/Text/Tradition/Directory.pm
patch
|
blob
|
blame
|
history
t/07google.t
patch
|
blob
|
blame
|
history
diff --git
a/lib/Text/Tradition/Directory.pm
b/lib/Text/Tradition/Directory.pm
index
1727903
..
c669bd8
100644
(file)
--- a/
lib/Text/Tradition/Directory.pm
+++ b/
lib/Text/Tradition/Directory.pm
@@
-581,7
+581,7
@@
sub _find_gplus {
$new_user->add_tradition($t);
}
- $self->delete_user({ username => $user->id });
+ # $self->delete_user({ username => $user->id });
return $new_user;
}
diff --git
a/t/07google.t
b/t/07google.t
index
09a2c65
..
37f0a66
100644
(file)
--- a/
t/07google.t
+++ b/
t/07google.t
@@
-88,7
+88,7
@@
io("$FindBin::Bin/var")->rmtree if io("$FindBin::Bin/var")->exists;
{
my $scope = $dir->new_scope;
- ok !$dir->find_user({ url => 'https://www.google.com/accounts/o8/id' }), 'Old google-openid is gone.';
+ # ok !$dir->find_user({ url => 'https://www.google.com/accounts/o8/id' }), 'Old google-openid is gone.';
ok $dir->find_user({ sub => 42, openid_id => 'https://www.google.com/accounts/o8/id' }), 'The G+ user is there.';