summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2021-09-06 14:34:05 +0200
committerHarald Eilertsen <haraldei@anduin.net>2021-09-06 14:34:05 +0200
commit1169022cdca0c27deb6fd0ddca96859c578a19b3 (patch)
tree3a959e8a2dd203e0d2209f1076c73926dc20aa90
parentd35fe29a0ef9fadfe8141b6428b510860f35c3d0 (diff)
downloadgigologadmin-1169022cdca0c27deb6fd0ddca96859c578a19b3.tar.gz
gigologadmin-1169022cdca0c27deb6fd0ddca96859c578a19b3.tar.bz2
gigologadmin-1169022cdca0c27deb6fd0ddca96859c578a19b3.zip
Remove obsolete function Concert::find
-rw-r--r--includes/concert.php13
1 files changed, 0 insertions, 13 deletions
diff --git a/includes/concert.php b/includes/concert.php
index ed22117..9413417 100644
--- a/includes/concert.php
+++ b/includes/concert.php
@@ -176,19 +176,6 @@ if ( !class_exists('GiglogAdmin_Concert') ) {
return $need_update;
}
- public static function find($cname, $venue, $date)
- {
- global $wpdb;
-
- $sql = 'SELECT id from wpg_concerts'
- . ' where upper(wpgconcert_name) = upper("' . $cname .'")'
- . ' and venue = ' . $venue
- . ' and wpgconcert_date ="' . $date . '"';
-
- return $wpdb->get_results($sql);
- }
-
-
/**
* Return an array of concert objects optionally limited by a specified
* filter.