commit | 633b7f1ee9e76cf9a8520b5878b87e0170d9f1a6 | [log] [tgz] |
---|---|---|
author | Mike Wallace <mikewallace@apache.org> | Fri Jan 16 15:10:40 2015 +0000 |
committer | Mike Wallace <mikewallace@apache.org> | Fri Jan 16 15:24:24 2015 +0000 |
tree | db621b6775bf5f4d9dc9c36a9db5c621c3dbc2ee | |
parent | 4e24b4caef90ab5749f614e62965b5dbe58f5283 [diff] |
[squash] Move users DB check into its own fun The chain of orelse statements combined with the indentation was pretty hard to read. This commit moves the checks into their own function and uses lists:any (which also shortcircuits).