Skip to content

Commit

Permalink
Drop last static call to Ui::show
Browse files Browse the repository at this point in the history
  • Loading branch information
usox committed Jun 16, 2021
1 parent e623eb6 commit 0768b29
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions public/templates/show_tagcloud.inc.php
Expand Up @@ -20,22 +20,27 @@
*
*/

use Ampache\Config\AmpConfig;
use Ampache\Module\Authorization\Access;
use Ampache\Module\Api\Ajax;
use Ampache\Module\System\Core;
use Ampache\Module\Util\AjaxUriRetrieverInterface;
use Ampache\Module\Util\Ui;
use Ampache\Module\Util\UiInterface;

$tag_types = array(
'artist' => T_('Artist'),
'album' => T_('Album'),
'song' => T_('Song'),
'video' => T_('Video'),
);

/** @var UiInterface $ui */

global $dic;
$ui = $dic->get(UiInterface::class);

?>
<?php UI::show('show_genre_browse_form.inc.php'); ?>
<?php $ui->show('show_genre_browse_form.inc.php'); ?>
<?php Ajax::start_container('tag_filter'); ?>
<?php foreach ($object_ids as $data) { ?>
<div class="tag_container">
Expand Down

0 comments on commit 0768b29

Please sign in to comment.