aboutsummaryrefslogtreecommitdiff
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 11:53:47 +0200
commit6a69943b16197ce98474953e6d425b520a834865 (patch)
tree49e55ef2a77323ac85bef69d8e0c81d71ef6c0c9
parente2df6525b5b19f2ead4967630c437b89558afcf3 (diff)
select plugins correctly, re #3977
-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]);
}
};