1
1
Fork 0

Remove dbstructure update

This commit is contained in:
Philipp Holzer 2023-02-19 11:31:22 +01:00
parent b593165949
commit 366d798e38
Signed by: nupplaPhil
GPG key ID: 24A7501396EB5432
3 changed files with 2 additions and 14 deletions

View file

@ -1,6 +1,6 @@
-- ------------------------------------------
-- Friendica 2023.03-dev (Giant Rhubarb)
-- DB_UPDATE_VERSION 1515
-- DB_UPDATE_VERSION 1514
-- ------------------------------------------

View file

@ -55,7 +55,7 @@
use Friendica\Database\DBA;
if (!defined('DB_UPDATE_VERSION')) {
define('DB_UPDATE_VERSION', 1515);
define('DB_UPDATE_VERSION', 1514);
}
return [

View file

@ -1287,15 +1287,3 @@ function update_1514()
return Update::SUCCESS;
}
function update_1515()
{
DI::config()
->beginTransaction()
->delete('config', 'hostname')
->delete('system', 'urlpath')
->delete('system', 'ssl_policy')
->commit();
return Update::SUCCESS;
}