diff options
| author | Rasmus Fuhse <fuhse@data-quest.de> | 2025-01-15 12:51:40 +0000 |
|---|---|---|
| committer | Rasmus Fuhse <fuhse@data-quest.de> | 2025-01-15 13:53:48 +0100 |
| commit | 6bd8c43abc8e0784316dd30dab9113275bd3d54e (patch) | |
| tree | b22196b12081bf658d4d04d56bc33112a27a9919 | |
| parent | 48b9981f5a8c4d7ae29ded26c6a681f31bd9c137 (diff) | |
Resolve "Log-Events schneiden Pluginnamen ab"
Closes #5135
Merge request studip/studip!3840
| -rw-r--r-- | lib/migrations/Migrator.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/migrations/Migrator.php b/lib/migrations/Migrator.php index 6bae25f..d8a9634 100644 --- a/lib/migrations/Migrator.php +++ b/lib/migrations/Migrator.php @@ -231,7 +231,11 @@ class Migrator $this->schema_version->set($this->isDown($branch) ? $version - 1 : $version, $branch); $action = $this->isUp($branch) ? 'MIGRATE_UP' : 'MIGRATE_DOWN'; - StudipLog::log($action, $number, $this->schema_version->getDomain()); + StudipLog::log( + $action, + $number, + substr($this->schema_version->getDomain(), 0, 32) + ); } } |
