Skip to content

Commit

Permalink
Update Extension.php
Browse files Browse the repository at this point in the history
  • Loading branch information
bobdenotter committed Dec 2, 2014
1 parent 268b272 commit ed62b08
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Extension.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,6 @@ public function analyticsWidget()
// http://www.codediesel.com/php/reading-google-analytics-data-from-php/
// http://code.google.com/p/gapi-google-analytics-php-interface/wiki/UsingFilterControl

$yamlparser = new \Symfony\Component\Yaml\Parser();
$this->config = $yamlparser->parse(file_get_contents(__DIR__.'/config.yml'));

if (empty($this->config['ga_email'])) { return "ga_email not set in config.yml."; }
if (empty($this->config['ga_password'])) { return "ga_password not set in config.yml."; }
if (empty($this->config['ga_profile_id'])) { return "ga_profile_id not set in config.yml."; }
Expand Down

0 comments on commit ed62b08

Please sign in to comment.