Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/ExampleAPI')
-rw-r--r--plugins/ExampleAPI/API.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/ExampleAPI/API.php b/plugins/ExampleAPI/API.php
index d4a0febccf..214d73eac5 100644
--- a/plugins/ExampleAPI/API.php
+++ b/plugins/ExampleAPI/API.php
@@ -11,6 +11,7 @@
use Piwik\DataTable\Row;
use Piwik\Piwik;
use Piwik\DataTable;
+use Piwik\Version;
/**
* The ExampleAPI is useful to developers building a custom Piwik plugin.
@@ -61,7 +62,7 @@ class Piwik_ExampleAPI_API
public function getPiwikVersion()
{
Piwik::checkUserHasSomeViewAccess();
- return Piwik_Version::VERSION;
+ return Version::VERSION;
}
/**