summaryrefslogtreecommitdiffstats
path: root/includes/admin/views/giglog_admin_page.php
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2022-03-10 17:44:59 +0100
committerHarald Eilertsen <haraldei@anduin.net>2022-03-10 17:44:59 +0100
commit8fcc9b883477201922a082f0ee992ca13e2f6c48 (patch)
tree81f113690ea579e1035904cb89e678252130cdd2 /includes/admin/views/giglog_admin_page.php
parent1a1ed1031f251e4c9fcf978669370961177fe361 (diff)
downloadgigologadmin-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/admin/views/giglog_admin_page.php')
0 files changed, 0 insertions, 0 deletions