diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2021-09-06 14:34:05 +0200 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2021-09-06 14:34:05 +0200 |
commit | 1169022cdca0c27deb6fd0ddca96859c578a19b3 (patch) | |
tree | 3a959e8a2dd203e0d2209f1076c73926dc20aa90 /includes/concert.php | |
parent | d35fe29a0ef9fadfe8141b6428b510860f35c3d0 (diff) | |
download | gigologadmin-1169022cdca0c27deb6fd0ddca96859c578a19b3.tar.gz gigologadmin-1169022cdca0c27deb6fd0ddca96859c578a19b3.tar.bz2 gigologadmin-1169022cdca0c27deb6fd0ddca96859c578a19b3.zip |
Remove obsolete function Concert::find
Diffstat (limited to 'includes/concert.php')
-rw-r--r-- | includes/concert.php | 13 |
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. |