summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2021-09-03 09:14:56 +0200
committerHarald Eilertsen <haraldei@anduin.net>2021-09-03 09:14:56 +0200
commit742ef8ee58b5b2dd59e17648f31f2f8ed9d4f3d0 (patch)
tree360f6b01390674b43ec5f114697b22347e49ba67
parent18edd0852b02a2027f24e6644e81bf111371c26f (diff)
downloadgigologadmin-742ef8ee58b5b2dd59e17648f31f2f8ed9d4f3d0.tar.gz
gigologadmin-742ef8ee58b5b2dd59e17648f31f2f8ed9d4f3d0.tar.bz2
gigologadmin-742ef8ee58b5b2dd59e17648f31f2f8ed9d4f3d0.zip
emove dependency on ConcertLogs in gig import code.
-rw-r--r--includes/admin/views/giglog_import_gigs.php2
-rw-r--r--includes/concert.php11
2 files changed, 0 insertions, 13 deletions
diff --git a/includes/admin/views/giglog_import_gigs.php b/includes/admin/views/giglog_import_gigs.php
index aeaf974..4bd59da 100644
--- a/includes/admin/views/giglog_import_gigs.php
+++ b/includes/admin/views/giglog_import_gigs.php
@@ -6,9 +6,7 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
if ( !class_exists( 'GiglogAdmin_ImportGigsPage' ) ) {
- // require_once __DIR__ . '/../../band.php';
require_once __DIR__ . '/../../concert.php';
- require_once __DIR__ . '/../../concertlogs.php';
require_once __DIR__ . '/../../venue.php';
class GiglogAdmin_ImportGigsPage {
diff --git a/includes/concert.php b/includes/concert.php
index 26722ed..61959b2 100644
--- a/includes/concert.php
+++ b/includes/concert.php
@@ -118,17 +118,6 @@ if ( !class_exists('GiglogAdmin_Concert') ) {
. ', Ticket LINK ' . $ticketlink
. ', Event LINK ' . $eventlink);
- GiglogAdmin_Concertlogs::add( $concert->id() );
- /*the last line can be replaced by a trigger
- CREATE TRIGGER `insertIntoPhotoLogs` AFTER INSERT ON `wpg_concerts`
- FOR EACH ROW INSERT INTO wpg_concertlogs (
- wpg_concertlogs.id,
- wpg_concertlogs.wpgcl_concertid,
- wpg_concertlogs.wpgcl_status)
-
- VALUES
- (null, new.id, 1)
- */
return $concert;
}
}