Skip to content

Commit

Permalink
trimsplit to StringUtil::trimsplit
Browse files Browse the repository at this point in the history
  • Loading branch information
Arne Stappen committed Sep 7, 2016
1 parent 4576467 commit d7a9720
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Resources/contao/pattern/PatternFileTree.php
Expand Up @@ -301,9 +301,9 @@ public function compile()
}

global $objPage;
$allowedDownload = trimsplit(',', strtolower(\Config::get('allowedDownload')));
$allowedVideo = trimsplit(',', strtolower(\Config::get('validVideoTypes')));
$allowedAudio = trimsplit(',', strtolower(\Config::get('validAudioTypes')));
$allowedDownload = StringUtil::trimsplit(',', strtolower(\Config::get('allowedDownload')));
$allowedVideo = StringUtil::trimsplit(',', strtolower(\Config::get('validVideoTypes')));
$allowedAudio = StringUtil::trimsplit(',', strtolower(\Config::get('validAudioTypes')));

$files = array();
$auxDate = array();
Expand Down

0 comments on commit d7a9720

Please sign in to comment.