Remove dbstructure update
This commit is contained in:
parent
b593165949
commit
366d798e38
3 changed files with 2 additions and 14 deletions
|
@ -1,6 +1,6 @@
|
|||
-- ------------------------------------------
|
||||
-- Friendica 2023.03-dev (Giant Rhubarb)
|
||||
-- DB_UPDATE_VERSION 1515
|
||||
-- DB_UPDATE_VERSION 1514
|
||||
-- ------------------------------------------
|
||||
|
||||
|
||||
|
|
|
@ -55,7 +55,7 @@
|
|||
use Friendica\Database\DBA;
|
||||
|
||||
if (!defined('DB_UPDATE_VERSION')) {
|
||||
define('DB_UPDATE_VERSION', 1515);
|
||||
define('DB_UPDATE_VERSION', 1514);
|
||||
}
|
||||
|
||||
return [
|
||||
|
|
12
update.php
12
update.php
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue