]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/PiwikAnalytics/PiwikAnalyticsPlugin.php
fixed parser error (opps)
[quix0rs-gnu-social.git] / plugins / PiwikAnalytics / PiwikAnalyticsPlugin.php
index b700e07db44cc5f5f1dac97f1cf3e065f9f9094b..924e36c264c1f370cd9b0b53743b0a9ee424a7ee 100644 (file)
@@ -33,7 +33,7 @@ if (!defined('STATUSNET')) {
 }
 
 /**
- * Plugin to use Piwik Analytics (based on the Google Analytics plugin by Evan)
+ * Plugin to use Piwik Analytics (based on the Analytics plugin by Evan)
  *
  * This plugin will spoot out the correct JavaScript spell to invoke
  * Piwik Analytics on a page.
@@ -51,6 +51,8 @@ if (!defined('STATUSNET')) {
  */
 class PiwikAnalyticsPlugin extends Plugin
 {
+    const PLUGIN_VERSION = '2.0.0';
+
     /** the base of your Piwik installation */
     public $piwikroot = null;
     /** the Piwik Id of your statusnet installation */
@@ -106,7 +108,7 @@ ENDOFPIWIK;
     function onPluginVersion(array &$versions)
     {
         $versions[] = array('name' => 'PiwikAnalytics',
-                            'version' => GNUSOCIAL_VERSION,
+                            'version' => self::PLUGIN_VERSION,
                             'author' => 'Tobias Diekershoff, Evan Prodromou',
                             'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/Piwik',
                             'rawdescription' =>