Skip to content

Commit

Permalink
Remove version display
Browse files Browse the repository at this point in the history
  • Loading branch information
jbelien committed Dec 13, 2018
1 parent 34f2935 commit bc668f2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/Middleware/UIMiddleware.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ public function process(ServerRequestInterface $request, RequestHandlerInterface
{
$config = $request->getAttribute(ConfigMiddleware::CONFIG_ATTRIBUTE);

$this->template->addDefaultParam('partial::modal-info', 'version', $config['version']);

$this->template->addDefaultParam('partial::header', 'params', $request->getQueryParams());

if (isset($config['providers']['automatic'], $config['providers']['manual'])) {
Expand Down
2 changes: 0 additions & 2 deletions templates/partial/modal-info.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@
<?php endif ?>
<hr>
<p class="small text-info">
<i class="fas fa-code-branch"></i>
<?=$this->translate('Version')?>: <?=$version?><br>
<i class="fab fa-github"></i>
<a href="https://github.com/geo6/batch-geocoder/" target="_blank"><?=$this->translate('Submit issue, or suggestion on GitHub')?></a>
</p>
Expand Down

0 comments on commit bc668f2

Please sign in to comment.