Index: trunk/extensions/MetricsReporting/fetchGoogleSpreadsheet.php |
— | — | @@ -45,8 +45,9 @@ |
46 | 46 | } |
47 | 47 | |
48 | 48 | if ( $authToken === null ) { |
49 | | - $this->error( 'No auth token', true ); |
| 49 | + $this->error( 'No auth token returned. Check your Google Credentials', true ); |
50 | 50 | } |
| 51 | + $this->output( 'Authorised. Got an authorisation token from Google' ); |
51 | 52 | |
52 | 53 | $cookies = $http->getCookieJar(); |
53 | 54 | //var_dump( $cookies ); |
— | — | @@ -70,8 +71,6 @@ |
71 | 72 | /** |
72 | 73 | * Pretty print xml string |
73 | 74 | * |
74 | | - * From http://recursive-design.com/blog/2007/04/05/format-xml-with-php/ |
75 | | - * |
76 | 75 | * @param $xml string |
77 | 76 | * @return string |
78 | 77 | */ |