From 27cb99cded04154d197c4c94ce1224585965e7f9 Mon Sep 17 00:00:00 2001 From: Mark Unwin Date: Wed, 20 Jun 2018 12:44:32 +1000 Subject: [PATCH] Removed commented out code. --- .../application/controllers/db_upgrades/db_2.2.4.php | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/code_igniter/application/controllers/db_upgrades/db_2.2.4.php b/code_igniter/application/controllers/db_upgrades/db_2.2.4.php index fee66695d..39467eec7 100644 --- a/code_igniter/application/controllers/db_upgrades/db_2.2.4.php +++ b/code_igniter/application/controllers/db_upgrades/db_2.2.4.php @@ -29,12 +29,8 @@ $this->log_db('Upgrade database to 2.2.4 commenced'); -# maps -// $this->load->model('m_roles'); -// $this->m_roles->update_permissions(2, 'maps', 'crud'); -// $this->m_roles->update_permissions(3, 'maps', 'crud'); - -# configuration - remove the Maps API key +# configuration +# - remove the Maps API key, see https://community.opmantek.com/display/opCommon/Google+Maps+API+Key $sql = "UPDATE `configuration` SET `value` = '' WHERE `name` = 'maps_api_key' and value = 'AIzaSyAhAUqssRASeC0Pfyx1TW1DXRmboG5bdG0'"; $this->db->query($sql); $this->log_db($this->db->last_query());