Skip to content

Commit 277c31a

Browse files
committed
[FIX] Merge conflict with development
1 parent 2b49325 commit 277c31a

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

include/version.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
$defflip = (!cfip()) ? exit(header('HTTP/1.1 401 Unauthorized')) : 1;
33

44
define('MPOS_VERSION', '0.0.4');
5-
define('DB_VERSION', '0.0.14');
5+
define('DB_VERSION', '0.0.15');
66
define('CONFIG_VERSION', '0.0.8');
77
define('HASH_VERSION', 1);
88

upgrade/definitions/0.0.13_to_0.0.14.inc.php renamed to upgrade/definitions/0.0.14_to_0.0.15.inc.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
<?php
2-
function run_0014() {
2+
function run_0015() {
33
// Ugly but haven't found a better way
44
global $setting, $config, $user, $mysqli, $transaction;
55

66
// Version information
7-
$db_version_old = '0.0.13'; // What version do we expect
8-
$db_version_new = '0.0.14'; // What is the new version we wish to upgrade to
7+
$db_version_old = '0.0.14'; // What version do we expect
8+
$db_version_new = '0.0.15'; // What is the new version we wish to upgrade to
99
$db_version_now = $setting->getValue('DB_VERSION'); // Our actual version installed
1010

1111
// Upgrade specific variables
1212
$aSql[] = "ALTER TABLE " . $transaction->getTableName() . " CHANGE `amount` `amount` DECIMAL(50,30) NULL DEFAULT '0'";
13-
$aSql[] = "UPDATE " . $setting->getTableName() . " SET value = '0.0.14' WHERE name = 'DB_VERSION'";
13+
$aSql[] = "UPDATE " . $setting->getTableName() . " SET value = '0.0.15' WHERE name = 'DB_VERSION'";
1414

1515
if ($db_version_now == $db_version_old && version_compare($db_version_now, DB_VERSION, '<')) {
1616
// Run the upgrade

0 commit comments

Comments
 (0)