From 77e64f99adae17ba4bba0e59e53f42c1e196ca21 Mon Sep 17 00:00:00 2001 From: Alex Grintsvayg Date: Fri, 2 Sep 2016 17:15:46 -0400 Subject: [PATCH] dont call google --- controller/action/ContentActions.class.php | 5 +---- view/template/page/home.php | 21 --------------------- 2 files changed, 1 insertion(+), 25 deletions(-) diff --git a/controller/action/ContentActions.class.php b/controller/action/ContentActions.class.php index 5760239d..47d4c7a1 100644 --- a/controller/action/ContentActions.class.php +++ b/controller/action/ContentActions.class.php @@ -11,10 +11,7 @@ class ContentActions extends Actions public static function executeHome(): array { Response::enableHttpCache(); - return ['page/home', [ - 'totalUSD' => CreditApi::getTotalDollarSales(), - 'totalPeople' => CreditApi::getTotalPeople() - ]]; + return ['page/home']; } public static function executeFaq(): array diff --git a/view/template/page/home.php b/view/template/page/home.php index 6d00cb4a..df32b8c0 100644 --- a/view/template/page/home.php +++ b/view/template/page/home.php @@ -11,27 +11,6 @@

{{global.sentence}}

- - -
- - - others in - - ', $labels) ?> - -
- */ ?>