From 6554ae2e81a9aef9d55ddacb3eaf6014f88f8502 Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Sun, 17 Jan 2021 20:48:09 +0100 Subject: Fix embarrasing misnaming of module. --- includes/admin/register_db_tables.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'includes/admin/register_db_tables.php') diff --git a/includes/admin/register_db_tables.php b/includes/admin/register_db_tables.php index c6d40f5..a54e2c8 100644 --- a/includes/admin/register_db_tables.php +++ b/includes/admin/register_db_tables.php @@ -1,6 +1,6 @@ query( @@ -247,13 +247,13 @@ if (!function_exists('gigologadmin_populate_countries')) { } } -if ( !function_exists( "gigolog_register_db_tables") ) { - $db_version = get_option('gigologadmin_db_version'); +if ( !function_exists( "giglog_register_db_tables") ) { + $db_version = get_option('giglogadmin_db_version'); if ($db_version == 1) { return; } - function gigolog_register_db_tables() { + function giglog_register_db_tables() { $bands_table = "CREATE TABLE IF NOT EXISTS `wpg_bands` ( `id` int(11) NOT NULL AUTO_INCREMENT, @@ -358,7 +358,7 @@ if ( !function_exists( "gigolog_register_db_tables") ) { } } - gigologadmin_populate_countries(); + giglogadmin_populate_countries(); $wpdb->query( "ALTER TABLE `wpg_countries` @@ -389,10 +389,10 @@ if ( !function_exists( "gigolog_register_db_tables") ) { FOREIGN KEY (`venue`) REFERENCES `wpg_venues` (`id`) ON DELETE NO ACTION;"); - update_option("gigologadmin_db_version", 1); + update_option("giglogadmin_db_version", 1); } - gigolog_register_db_tables(); + giglog_register_db_tables(); } ?> -- cgit v1.2.3