From a03be362bb0ee4950c9869af3297d1ce75a4c3ab Mon Sep 17 00:00:00 2001
From: diosmosis <benaka@piwik.pro>
Date: Mon, 8 Jun 2015 17:44:08 -0700
Subject: [PATCH] Require UserCountry functions.php file in UserCountryMap so
 UI tests won't fail (a request from the widgetized dashboard to the
 UserCountryMap failed because a function in this file was not available).

---
 plugins/UserCountryMap/Controller.php | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/plugins/UserCountryMap/Controller.php b/plugins/UserCountryMap/Controller.php
index 63e84c6ba8..00cf891b3b 100644
--- a/plugins/UserCountryMap/Controller.php
+++ b/plugins/UserCountryMap/Controller.php
@@ -18,6 +18,8 @@ use Piwik\Site;
 use Piwik\Translation\Translator;
 use Piwik\View;
 
+require_once PIWIK_INCLUDE_PATH . '/plugins/UserCountry/functions.php';
+
 /**
  *
  */
-- 
GitLab