X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=update.php;h=90018b62d6a9319247bd31c747977f4387a4ea50;hb=08edeae2f996854d0028d0f73a08a1f3ee7741da;hp=40f39ebebad0783a07648d97f52abc4d870a63d6;hpb=a5895f8623c226e935e2afda42c5d2da16207bcb;p=friendica.git diff --git a/update.php b/update.php index 40f39ebeba..90018b62d6 100644 --- a/update.php +++ b/update.php @@ -408,3 +408,15 @@ function update_1327() return Update::SUCCESS; } +function update_1329() +{ + $currStorage = Config::get('storage', 'class', ''); + + if (!empty($currStorage)) { + $storageName = array_key_first(\Friendica\Core\StorageManager::DEFAULT_BACKENDS, $currStorage); + Config::set('storage', 'name', $storageName); + Config::delete('storage', 'class'); + } + + return Update::SUCCESS; +}