summaryrefslogtreecommitdiff
path: root/lib/Travelynx/Model/Traewelling.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Travelynx/Model/Traewelling.pm')
-rw-r--r--lib/Travelynx/Model/Traewelling.pm5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/Travelynx/Model/Traewelling.pm b/lib/Travelynx/Model/Traewelling.pm
index 8ed35e5..25648cc 100644
--- a/lib/Travelynx/Model/Traewelling.pm
+++ b/lib/Travelynx/Model/Traewelling.pm
@@ -235,10 +235,7 @@ sub get_pull_accounts {
my $res = $self->{pg}->db->select(
'traewelling',
[ 'user_id', 'token', 'data' ],
- {
- pull_sync => 1,
- user_name => { '!=', undef },
- }
+ { pull_sync => 1 }
);
return $res->expand->hashes->each;
}