Browse code

Fix file notification job

Benjamin Roth authored on12/10/2023 15:00:12
Showing1 changed files
... ...
@@ -53,7 +53,7 @@ class MemberSecureDownloadsListener {
53 53
      */
54 54
     public function onListEditOperationCallback(array $row, ?string $href, string $label, string $title, ?string $icon, string $attributes, string $table, array $rootRecordIds, ?array $childRecordIds, bool $circularReference, ?string $previous, ?string $next, DataContainer $dc)
55 55
     {
56
-        if (!$this->User->isAdmin && !$this->User->hasAccess('tl_files::name','alexf'))
56
+        if (!$this->User->isAdmin)
57 57
         {
58 58
             return '';
59 59
         }