From 789e0facbeb4e1aaecc1991a3b68c8b6588b43fb Mon Sep 17 00:00:00 2001 From: Alex Date: Fri, 17 Feb 2017 21:28:29 +0200 Subject: [PATCH] ga output --- app/library/App/Controllers/GaController.php | 12 ------------ 1 file changed, 0 insertions(+), 12 deletions(-) diff --git a/app/library/App/Controllers/GaController.php b/app/library/App/Controllers/GaController.php index 662a5f1..0744e1d 100644 --- a/app/library/App/Controllers/GaController.php +++ b/app/library/App/Controllers/GaController.php @@ -78,18 +78,6 @@ class GaController extends CrudResourceController { $response = $analytics->reports->batchGet($body); - /** @var \Google_Service_AnalyticsReporting_Report $report */ - $report = $response->getReports()[0]; - - $data = $report->getColumnHeader(); - - $response->modelData; - - return var_dump($data); - - $obj = $response->toSimpleObject(); - $obj = $obj->reports[0]['data']['rows']; - $result = []; foreach ($response as $item) { -- libgit2 0.21.4