Commit 1a9807fe authored by hass's avatar hass
Browse files

Codestyle: Use "elseif" and not "else if".

parent 38e6eb41
...@@ -231,7 +231,7 @@ function googleanalytics_page_alter(&$page) { ...@@ -231,7 +231,7 @@ function googleanalytics_page_alter(&$page) {
if ($domain_mode == 1 && count(explode('.', $cookie_domain)) > 2 && !is_numeric(str_replace('.', '', $cookie_domain))) { if ($domain_mode == 1 && count(explode('.', $cookie_domain)) > 2 && !is_numeric(str_replace('.', '', $cookie_domain))) {
$script .= '_gaq.push(["_setDomainName", ' . drupal_json_encode($cookie_domain) . ']);'; $script .= '_gaq.push(["_setDomainName", ' . drupal_json_encode($cookie_domain) . ']);';
} }
else if ($domain_mode == 2) { elseif ($domain_mode == 2) {
$script .= '_gaq.push(["_setDomainName", "none"]);'; $script .= '_gaq.push(["_setDomainName", "none"]);';
$script .= '_gaq.push(["_setAllowLinker", true]);'; $script .= '_gaq.push(["_setAllowLinker", true]);';
} }
......
Supports Markdown
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