clean QR Contact Module

This commit is contained in:
Diatrex 2020-01-27 18:31:01 +03:00
parent 6ef17f4dc8
commit ca4f09618f
2 changed files with 1 additions and 6 deletions

View File

@ -26,7 +26,7 @@
</div>
<!-- Content With Block -->
{{ addBlock('ad-detail/content',{'features':features,'adv':adv, 'qrSRC': qrSRC})|raw }}
{{ addBlock('ad-detail/content',{'features':features,'adv':adv, 'profile': profile})|raw }}
<!-- Content With Block -->
</div>
</div>

View File

@ -301,11 +301,6 @@ class AdvsController extends PublicController
}
$this->event->dispatch(new viewAd($adv));//view ad
$isActiveqrContact = $this->adv_model->is_enabled('qrcontact');
if ($isActiveqrContact) {
$qrModel = new QrModel();
$qrSRC = $qrModel->source($adv);
}
$this->template->set('meta_keywords', implode(',', explode(' ', $adv->name)));
$this->template->set('meta_description', strip_tags($adv->advs_desc, ''));
$this->template->set('meta_title', $adv->name . "|" . end($categories)['name']);