Skip to content

Commit

Permalink
Update tl_news_archive.php
Browse files Browse the repository at this point in the history
  • Loading branch information
koertho authored Oct 23, 2024
1 parent b2a792c commit 30b707a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Resources/contao/dca/tl_news_archive.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,12 @@
* file that was distributed with this source code.
*/

use Contao\ArrayUtil;

$table = 'tl_news_archive';

/*
* Add global operations
*/
ArrayUtil::arrayInsert($GLOBALS['TL_DCA'][$table]['list']['global_operations'], 0, [
array_insert($GLOBALS['TL_DCA'][$table]['list']['global_operations'], 0, [
'socialFeedAccounts' => [
'label' => &$GLOBALS['TL_LANG']['MSC']['socialFeedAccounts'],
'href' => 'do=socialFeed',
Expand Down

0 comments on commit 30b707a

Please sign in to comment.