Skip to content

Commit

Permalink
remove priorities for fixing bug contao/contao#2570
Browse files Browse the repository at this point in the history
  • Loading branch information
Tastaturberuf committed Dec 29, 2020
1 parent d44ca3b commit 1d8b38d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions EventListener/DcaFilesListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public function __construct(array $validImageExtensions)


/**
* @Hook("loadDataContainer", priority=1)
* @Hook("loadDataContainer")
*/
public function addFields(string $table): void
{
Expand Down Expand Up @@ -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
{
Expand Down

0 comments on commit 1d8b38d

Please sign in to comment.