diff options
author | Thomas Steur <thomas.steur@googlemail.com> | 2014-06-13 11:59:45 +0400 |
---|---|---|
committer | Thomas Steur <thomas.steur@googlemail.com> | 2014-06-13 11:59:45 +0400 |
commit | fccdcc0c2c9416a283d35feb89fa689f9a32fcae (patch) | |
tree | 8157e7430be6d69c002aaee6ed65aff28360ed81 /plugins/CoreHome/Segment.php | |
parent | 83ee5a47ebf6227d7e0b898d506f230f07d9d815 (diff) |
moved more logic from core to plugins
Diffstat (limited to 'plugins/CoreHome/Segment.php')
-rw-r--r-- | plugins/CoreHome/Segment.php | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/plugins/CoreHome/Segment.php b/plugins/CoreHome/Segment.php new file mode 100644 index 0000000000..7b6f2fbf57 --- /dev/null +++ b/plugins/CoreHome/Segment.php @@ -0,0 +1,21 @@ +<?php +/** + * Piwik - Open source web analytics + * + * @link http://piwik.org + * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later + * + */ +namespace Piwik\Plugins\CoreHome; + +/** + * CoreHome segment base class + */ +class Segment extends \Piwik\Plugin\Segment +{ + protected function init() + { + $this->setCategory('General_Visit'); + } +} + |