unnecessary code removed

This commit is contained in:
Drudex Software 2013-02-08 22:18:19 +01:00
parent c709e12440
commit c0e51b5f0c

View file

@ -26,7 +26,7 @@ class google_analytics extends Extension {
global $page;
$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'>
var _gaq = _gaq || [];