aboutsummaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorJan-Hendrik Willms <tleilax+github@gmail.com>2024-05-06 11:53:47 +0200
committerJan-Hendrik Willms <tleilax+github@gmail.com>2024-05-06 15:07:39 +0200
commit34bc9e44506a45c4d756fea30e839db9ae1e5d11 (patch)
tree725f15e9a589f3af1d4e514333ba918473237a07 /db
parent6c1c14cdce73872c39303e55914f47051c232edc (diff)
select plugins correctly, re #3977
Diffstat (limited to 'db')
-rw-r--r--db/migrations/5.1.57_cleanup_tool_activations.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/db/migrations/5.1.57_cleanup_tool_activations.php b/db/migrations/5.1.57_cleanup_tool_activations.php
index 6700816..2f4bda2 100644
--- a/db/migrations/5.1.57_cleanup_tool_activations.php
+++ b/db/migrations/5.1.57_cleanup_tool_activations.php
@@ -17,7 +17,8 @@ return new class extends Migration
SELECT `pluginid`
FROM `plugins`
WHERE FIND_IN_SET(?, `plugintype`)
+ OR FIND_IN_SET(?, `plugintype`)
)";
- DBManager::get()->execute($query, [StandardPlugin::class]);
+ DBManager::get()->execute($query, [StudipModule::class, StandardPlugin::class]);
}
};