From 1d8b38d5b1ff7750aa7e8e4b4b0b7857e7032a64 Mon Sep 17 00:00:00 2001 From: Tastaturberuf Date: Tue, 29 Dec 2020 22:35:40 +0100 Subject: [PATCH] remove priorities for fixing bug https://github.com/contao/contao/issues/2570 --- EventListener/DcaFilesListener.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/EventListener/DcaFilesListener.php b/EventListener/DcaFilesListener.php index bfe9398..8437320 100644 --- a/EventListener/DcaFilesListener.php +++ b/EventListener/DcaFilesListener.php @@ -37,7 +37,7 @@ public function __construct(array $validImageExtensions) /** - * @Hook("loadDataContainer", priority=1) + * @Hook("loadDataContainer") */ public function addFields(string $table): void { @@ -87,7 +87,7 @@ public function addFields(string $table): void /** - * @Callback(table="tl_files", target="config.onload", priority=1) + * @Callback(table="tl_files", target="config.onload") */ public function onLoadCallback(DataContainer $dc = null): void {