From 7ba384e70a0b49efa5096b88ba17a08a6fe400e4 Mon Sep 17 00:00:00 2001 From: Tobias Reich Date: Mon, 22 Aug 2016 14:08:03 +0200 Subject: [PATCH] Updated to minor version --- php/Modules/Database.php | 2 +- php/database/{update_030103.php => update_030200.php} | 10 +++++----- src/package.json | 2 +- src/scripts/lychee.js | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) rename php/database/{update_030103.php => update_030200.php} (60%) diff --git a/php/Modules/Database.php b/php/Modules/Database.php index 9ef27c5..73d511f 100755 --- a/php/Modules/Database.php +++ b/php/Modules/Database.php @@ -16,7 +16,7 @@ final class Database { '030003', // 3.0.3 '030100', // 3.1.0 '030102', // 3.1.2 - '030103' // 3.1.3 + '030200' // 3.2.0 ); /** diff --git a/php/database/update_030103.php b/php/database/update_030200.php similarity index 60% rename from php/database/update_030103.php rename to php/database/update_030200.php index b4cb5a0..a74eeb4 100644 --- a/php/database/update_030103.php +++ b/php/database/update_030200.php @@ -1,7 +1,7 @@ error . ')'); + Log::error($database, 'update_030200', __LINE__, 'Could not update database (' . $database->error . ')'); return false; } } // Set version -if (Database::setVersion($connection, '030103')===false) Response::error('Could not update version of database!'); +// if (Database::setVersion($connection, '030200')===false) Response::error('Could not update version of database!'); ?> \ No newline at end of file diff --git a/src/package.json b/src/package.json index 6303075..5862ea2 100644 --- a/src/package.json +++ b/src/package.json @@ -1,6 +1,6 @@ { "name": "Lychee", - "version": "3.1.3", + "version": "3.2.0", "description": "Self-hosted photo-management done right.", "authors": "Tobias Reich ", "license": "MIT", diff --git a/src/scripts/lychee.js b/src/scripts/lychee.js index 868115e..0fc9913 100644 --- a/src/scripts/lychee.js +++ b/src/scripts/lychee.js @@ -6,8 +6,8 @@ lychee = { title : document.title, - version : '3.1.3', - versionCode : '030103', + version : '3.2.0', + versionCode : '030200', updatePath : '//update.electerious.com/index.json', updateURL : 'https://github.com/electerious/Lychee',