Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $auth_list = ($mode ne 'all')
- ? DB->resultset('Auth')->search({
- -and => [cover => undef,
- -or => [{ harvest_last_time => undef },
- { harvest_last_time => { '<', $last_month } },
- { harvest_max_eshop => { '<', $max_eshop_id } } ]
- ]
- })
- : DB->resultset('Auth')
- unless $ENV{DEBUG};
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement