diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2021-04-23 20:53:49 +0200 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2021-04-23 20:53:49 +0200 |
commit | c4446eb3cbe8f7074d565ad9b68192b2c5d222f4 (patch) | |
tree | 0266296afcca47e0fbb212a6bcdb84e9b23ba883 /tests | |
parent | ce5ed26cadf5f60e2b07d6a355f64d3357bf5397 (diff) | |
download | gigologadmin-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 'tests')
0 files changed, 0 insertions, 0 deletions