diff options
| author | Jan-Hendrik Willms <tleilax+github@gmail.com> | 2024-05-06 11:53:47 +0200 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+github@gmail.com> | 2024-05-06 15:07:50 +0200 |
| commit | 0f572114de7b51b4cd55e0274f939b87c9644926 (patch) | |
| tree | ae90a24c55debaeca9aa9f5282d70da357c7e4b7 | |
| parent | b5d0e549f592bd20a6d6c80cc4ffa65329d8e2af (diff) | |
select plugins correctly, re #3977
| -rw-r--r-- | db/migrations/5.1.57_cleanup_tool_activations.php | 3 |
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]); } }; |
