Browse code

Make tl_member_secureDownloads.php Contao 5 compatible

Benjamin Roth authored on07/05/2025 13:19:22
Showing1 changed files
... ...
@@ -11,13 +11,16 @@
11 11
 /**
12 12
  * Table tl_member_secureDownloads
13 13
  */
14
+
15
+use Contao\DC_Table;
16
+
14 17
 $GLOBALS['TL_DCA']['tl_member_secureDownloads'] = array
15 18
 (
16 19
 
17 20
     // Config
18 21
     'config' => array
19 22
     (
20
-        'dataContainer' => 'Table',
23
+        'dataContainer' => DC_Table::class,
21 24
         'ptable' => 'tl_member',
22 25
         'closed' => true,
23 26
         'doNotCopyRecords' => true,