Skip to content

Commit

Permalink
PostgreSQL removed
Browse files Browse the repository at this point in the history
  • Loading branch information
condor2 committed Jan 7, 2024
1 parent 4e2b134 commit 1577873
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 80 deletions.
4 changes: 1 addition & 3 deletions upload/install/controller/install/step_3.php
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,6 @@ public function index(): void {
$data['text_db_administration'] = $this->language->get('text_db_administration');
$data['text_mysqli'] = $this->language->get('text_mysqli');
$data['text_mpdo'] = $this->language->get('text_mpdo');
$data['text_pgsql'] = $this->language->get('text_pgsql');

$data['entry_db_driver'] = $this->language->get('entry_db_driver');
$data['entry_db_hostname'] = $this->language->get('entry_db_hostname');
Expand Down Expand Up @@ -348,8 +347,7 @@ private function validate() {

$db_drivers = [
'mysqli',
'pdo',
'pgsql'
'pdo'
];

if (!in_array($this->request->post['db_driver'], $db_drivers)) {
Expand Down
1 change: 0 additions & 1 deletion upload/install/language/en-gb/install/step_3.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
$_['text_db_administration'] = '2. Please enter a username and password for the administration.';
$_['text_mysqli'] = 'MySQLi';
$_['text_pdo'] = 'mPDO';
$_['text_pgsql'] = 'PostgreSQL';

// Entry
$_['entry_db_driver'] = 'DB Driver';
Expand Down
1 change: 0 additions & 1 deletion upload/install/view/template/install/step_3.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
<div class="form-group">
<label class="col-sm-2 control-label" for="input-db-driver"><?php echo $entry_db_driver; ?></label>
<div class="col-sm-10">
<!--<select name="db_driver" id="input-db-driver" class="form-control">-->
<select name="db_driver" id="input-db-driver" class="form-control" onchange="javascript:document.getElementById('db-advanced').style.display=(this.value=='mysqli')?'block':'none';">
<?php foreach ($drivers as $driver) { ?>
<?php if ($db_driver == $driver['value']) { ?>
Expand Down
75 changes: 0 additions & 75 deletions upload/system/library/db/pgsql.php

This file was deleted.

0 comments on commit 1577873

Please sign in to comment.