diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2022-03-10 17:44:59 +0100 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2022-03-10 17:44:59 +0100 |
commit | 8fcc9b883477201922a082f0ee992ca13e2f6c48 (patch) | |
tree | 81f113690ea579e1035904cb89e678252130cdd2 /includes/view-helpers | |
parent | 1a1ed1031f251e4c9fcf978669370961177fe361 (diff) | |
download | gigologadmin-8fcc9b883477201922a082f0ee992ca13e2f6c48.tar.gz gigologadmin-8fcc9b883477201922a082f0ee992ca13e2f6c48.tar.bz2 gigologadmin-8fcc9b883477201922a082f0ee992ca13e2f6c48.zip |
Refactor gig import code.
Split into two functions, and drop the nesting of the ifs. Technically
the ifs didn't need to be nested in the first place, since each error
case would break the execution flow using `continue` anyways.
Throw parsing errors instead of having to keep pass all the state into
the function that only need to parse one line.
Diffstat (limited to 'includes/view-helpers')
0 files changed, 0 insertions, 0 deletions