unnecessary code removed
This commit is contained in:
parent
c709e12440
commit
c0e51b5f0c
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ class google_analytics extends Extension {
|
||||||
global $page;
|
global $page;
|
||||||
|
|
||||||
$google_analytics_id = $config->get_string('google_analytics_id','');
|
$google_analytics_id = $config->get_string('google_analytics_id','');
|
||||||
if (stristr($google_analytics_id, "UA-") && $google_analytics_id != "")
|
if (stristr($google_analytics_id, "UA-"))
|
||||||
{
|
{
|
||||||
$page->add_html_header("<script type='text/javascript'>
|
$page->add_html_header("<script type='text/javascript'>
|
||||||
var _gaq = _gaq || [];
|
var _gaq = _gaq || [];
|
||||||
|
|
Reference in a new issue