diff options
Diffstat (limited to 'plugins/Actions')
-rw-r--r-- | plugins/Actions/Actions.php | 4 | ||||
-rw-r--r-- | plugins/Actions/Archiver.php | 2 | ||||
-rw-r--r-- | plugins/Actions/ArchivingHelper.php | 10 |
3 files changed, 8 insertions, 8 deletions
diff --git a/plugins/Actions/Actions.php b/plugins/Actions/Actions.php index 91042fce4f..3407c7f8e2 100644 --- a/plugins/Actions/Actions.php +++ b/plugins/Actions/Actions.php @@ -123,14 +123,14 @@ class Actions extends \Piwik\Plugin return true; } - static public function checkCustomVariablesPluginEnabled() + public static function checkCustomVariablesPluginEnabled() { if (!self::isCustomVariablesPluginsEnabled()) { throw new \Exception("To Track Site Search Categories, please ask the Piwik Administrator to enable the 'Custom Variables' plugin in Settings > Plugins."); } } - static public function isCustomVariablesPluginsEnabled() + public static function isCustomVariablesPluginsEnabled() { return \Piwik\Plugin\Manager::getInstance()->isPluginActivated('CustomVariables'); } diff --git a/plugins/Actions/Archiver.php b/plugins/Actions/Archiver.php index 758e3acb85..2df5402578 100644 --- a/plugins/Actions/Archiver.php +++ b/plugins/Actions/Archiver.php @@ -121,7 +121,7 @@ class Archiver extends \Piwik\Plugin\Archiver /** * @return string */ - static public function getWhereClauseActionIsNotEvent() + public static function getWhereClauseActionIsNotEvent() { return " AND log_link_visit_action.idaction_event_category IS NULL"; } diff --git a/plugins/Actions/ArchivingHelper.php b/plugins/Actions/ArchivingHelper.php index 908375d032..48b08d7407 100644 --- a/plugins/Actions/ArchivingHelper.php +++ b/plugins/Actions/ArchivingHelper.php @@ -38,7 +38,7 @@ class ArchivingHelper * @param array $actionsTablesByType * @return int */ - static public function updateActionsTableWithRowQuery($query, $fieldQueried, & $actionsTablesByType) + public static function updateActionsTableWithRowQuery($query, $fieldQueried, & $actionsTablesByType) { $rowsProcessed = 0; while ($row = $query->fetch()) { @@ -294,7 +294,7 @@ class ArchivingHelper static protected $defaultActionNameWhenNotDefined = null; static protected $defaultActionUrlWhenNotDefined = null; - static public function reloadConfig() + public static function reloadConfig() { // for BC, we read the old style delimiter first (see #1067)Row $actionDelimiter = @Config::getInstance()->General['action_category_delimiter']; @@ -320,7 +320,7 @@ class ArchivingHelper * * @return Row */ - static private function getDefaultRow() + private static function getDefaultRow() { static $row = false; if ($row === false) { @@ -390,7 +390,7 @@ class ArchivingHelper * @param $type * @return string */ - static public function getUnknownActionName($type) + public static function getUnknownActionName($type) { if (empty(self::$defaultActionNameWhenNotDefined)) { self::$defaultActionNameWhenNotDefined = Piwik::translate('General_NotDefined', Piwik::translate('Actions_ColumnPageName')); @@ -425,7 +425,7 @@ class ArchivingHelper * @param int $urlPrefix url prefix (only used for TYPE_PAGE_URL) * @return array of exploded elements from $name */ - static public function getActionExplodedNames($name, $type, $urlPrefix = null) + public static function getActionExplodedNames($name, $type, $urlPrefix = null) { // Site Search does not split Search keywords if ($type == Action::TYPE_SITE_SEARCH) { |