Skip to content

Commit

Permalink
Removed commented out code.
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-unwin committed Jun 20, 2018
1 parent d090290 commit 27cb99c
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions code_igniter/application/controllers/db_upgrades/db_2.2.4.php
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit 27cb99c

Please sign in to comment.