Skip to content

Commit ee1c17d

Browse files
committed
fix(Migration): Fix mind-o
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
1 parent eecc10a commit ee1c17d

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

lib/Migration/Version030002Date20241021105515.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
use OCA\Dropbox\AppInfo\Application;
1414
use OCP\AppFramework\Services\IAppConfig;
1515
use OCP\DB\QueryBuilder\IQueryBuilder;
16-
use OCP\IConfig;
1716
use OCP\IDBConnection;
1817
use OCP\Migration\IOutput;
1918
use OCP\Migration\SimpleMigrationStep;

lib/Migration/Version040200Date20260211105515.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ public function postSchemaChange(IOutput $output, Closure $schemaClosure, array
4444

4545
// Make app config entries lazy
4646
foreach ($this->appConfig->getAppKeys() as $key) {
47+
if (in_array($key, ['installed_version','enabled','types'], true)) {
48+
continue;
49+
}
4750
if (!$this->appConfig->isLazy($key)) {
4851
$value = $this->appConfig->getAppValueString($key);
4952
$this->appConfig->deleteAppValue($key);

lib/Service/SecretService.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
use OCA\Dropbox\AppInfo\Application;
1111
use OCP\AppFramework\Services\IAppConfig;
1212
use OCP\Config\IUserConfig;
13-
use OCP\IUserManager;
1413
use OCP\PreConditionNotMetException;
1514

1615
class SecretService {

0 commit comments

Comments
 (0)