Commit ff25157ef3e6355e490ba3ca1eef9a8852d9d16b

Authored by Alex Savenko
1 parent 51e8991c

ga response

Showing 1 changed file with 1 additions and 2 deletions   Show diff stats
app/library/App/Controllers/GaController.php
@@ -61,11 +61,10 @@ class GaController extends CrudResourceController { @@ -61,11 +61,10 @@ class GaController extends CrudResourceController {
61 } 61 }
62 62
63 return $response->toSimpleObject(); 63 return $response->toSimpleObject();
64 - return $this->printResults($response);  
65 64
66 } 65 }
67 66
68 - function printResults($reports) { 67 + public function printResults($reports) {
69 $res = ''; 68 $res = '';
70 for ( $reportIndex = 0; $reportIndex < count( $reports ); $reportIndex++ ) { 69 for ( $reportIndex = 0; $reportIndex < count( $reports ); $reportIndex++ ) {
71 $report = $reports[ $reportIndex ]; 70 $report = $reports[ $reportIndex ];