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:
authorsgiehl <stefangiehl@gmail.com>2013-01-21 01:34:12 +0400
committersgiehl <stefangiehl@gmail.com>2013-01-21 01:34:12 +0400
commit932775a89a60a313e1d8da5b33690264deefc4e9 (patch)
tree73561cb0ff15eea33b3ffd6c1d8bf18afbe8e3e0 /core/PluginsFunctions
parent213004e38e57fccfcbb2d031fb2042bbbda694d7 (diff)
added method to reset widgetlist - for testing only
git-svn-id: http://dev.piwik.org/svn/trunk@7787 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'core/PluginsFunctions')
-rw-r--r--core/PluginsFunctions/WidgetsList.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/core/PluginsFunctions/WidgetsList.php b/core/PluginsFunctions/WidgetsList.php
index 8ffbf35489..5d0ad77a16 100644
--- a/core/PluginsFunctions/WidgetsList.php
+++ b/core/PluginsFunctions/WidgetsList.php
@@ -143,6 +143,15 @@ class Piwik_WidgetsList
}
return false;
}
+
+ /**
+ * Method to reset the widget list
+ * For testing only
+ */
+ public static function _reset() {
+ self::$widgets = null;
+ self::$hookCalled = false;
+ }
}
/**