Skip to content
Snippets Groups Projects
Commit 34184ce9 authored by Chris Hallberg's avatar Chris Hallberg
Browse files

Simplification of GA lightbox. Removed dev code.

parent cca3548a
No related merge requests found
...@@ -118,7 +118,6 @@ class AbstractBase extends AbstractActionController ...@@ -118,7 +118,6 @@ class AbstractBase extends AbstractActionController
'layout', $this->params()->fromQuery('layout', false) 'layout', $this->params()->fromQuery('layout', false)
)) { )) {
$this->layout()->setTemplate('layout/lightbox'); $this->layout()->setTemplate('layout/lightbox');
$this->layout()->lburl = $_SERVER["REQUEST_URI"];
} }
return new ViewModel($params); return new ViewModel($params);
} }
......
...@@ -73,7 +73,6 @@ class GoogleAnalytics extends \Zend\View\Helper\AbstractHelper ...@@ -73,7 +73,6 @@ class GoogleAnalytics extends \Zend\View\Helper\AbstractHelper
*/ */
public function __invoke($customUrl = false) public function __invoke($customUrl = false)
{ {
error_log($customUrl);
if (!$this->key) { if (!$this->key) {
return ''; return '';
} }
......
<?=$this->layout()->content?> <?=$this->layout()->content?>
<?=$this->googleanalytics($this->layout()->lburl)?> <?=$this->googleanalytics($this->serverUrl(true))?>
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment