summaryrefslogtreecommitdiffstats
path: root/assets
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2021-04-23 20:53:49 +0200
committerHarald Eilertsen <haraldei@anduin.net>2021-04-23 20:53:49 +0200
commitc4446eb3cbe8f7074d565ad9b68192b2c5d222f4 (patch)
tree0266296afcca47e0fbb212a6bcdb84e9b23ba883 /assets
parentce5ed26cadf5f60e2b07d6a355f64d3357bf5397 (diff)
downloadgigologadmin-c4446eb3cbe8f7074d565ad9b68192b2c5d222f4.tar.gz
gigologadmin-c4446eb3cbe8f7074d565ad9b68192b2c5d222f4.tar.bz2
gigologadmin-c4446eb3cbe8f7074d565ad9b68192b2c5d222f4.zip
Refactor Concert::create
Restructure the method a bit, drop the `c`prefix on variables, rename the variable to hold the created concert, and use object notation to pass the attributes to the constructor. Also rename the method `get` to `find`, the only call site was the `create` method. Drop the unnecessary method `check_duplicate`. Just use `find` instead.
Diffstat (limited to 'assets')
0 files changed, 0 insertions, 0 deletions