summaryrefslogtreecommitdiffstats
path: root/includes/venue.php
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2021-09-06 16:50:57 +0200
committerHarald Eilertsen <haraldei@anduin.net>2021-09-06 16:50:57 +0200
commitf01f957a0d622e37f1a32e2d88dc152ec5524c35 (patch)
tree5e080a579c8365db4164ee599bfdbb50677ce99f /includes/venue.php
parentf0eb0199ec8de0e76c7b75ddc80275cde8f12818 (diff)
downloadgigologadmin-f01f957a0d622e37f1a32e2d88dc152ec5524c35.tar.gz
gigologadmin-f01f957a0d622e37f1a32e2d88dc152ec5524c35.tar.bz2
gigologadmin-f01f957a0d622e37f1a32e2d88dc152ec5524c35.zip
Remove logging from Venue class.
Move logging to presentation/logic layer if necessary.
Diffstat (limited to 'includes/venue.php')
-rw-r--r--includes/venue.php8
1 files changed, 0 insertions, 8 deletions
diff --git a/includes/venue.php b/includes/venue.php
index 444fd29..47788d1 100644
--- a/includes/venue.php
+++ b/includes/venue.php
@@ -67,10 +67,6 @@ if ( !class_exists('GiglogAdmin_Venue') ) {
'wpgvenue_city' => $city,
]);
$venue->save();
- error_log( 'NEW VENUE ADDED: '
- . ' ID: ' . $venue -> id()
- . ' VENUE NAME ' . $name
- . ', VENUE CITY ' . $city);
return $venue;
}
@@ -82,10 +78,6 @@ if ( !class_exists('GiglogAdmin_Venue') ) {
$results = $wpdb->get_results($venuesql);
if ($results) {
- error_log( 'DUPLICATE VENUE: '
- . ' ID: ' . $results[0]->id
- . ' VENUE NAME ' . $name
- . ', VENUE CITY ' . $city);
return new GiglogAdmin_Venue($results[0]);
}
else {