diff --git a/plugins/CoreHome/Columns/UserId.php b/plugins/CoreHome/Columns/UserId.php index ca061b2f0e4c04f3fa3a9d42925cb275a45f03b5..64d867fe64f931df35eaec9c7e1616e91e8377e9 100644 --- a/plugins/CoreHome/Columns/UserId.php +++ b/plugins/CoreHome/Columns/UserId.php @@ -19,30 +19,15 @@ use Piwik\Tracker\Action; class UserId extends VisitDimension { /** - * This will be the name of the column in the log_visit table if a $columnType is specified. * @var string */ protected $columnName = 'user_id'; /** - * If a columnType is defined, we will create this a column in the MySQL table having this type. Please make sure - * MySQL will understand this type. Once you change the column type the Piwik platform will notify the user to - * perform an update which can sometimes take a long time so be careful when choosing the correct column type. * @var string */ protected $columnType = 'VARCHAR(200) NOT NULL'; - protected function configureSegments() - { - /* - $segment = new Segment(); - $segment->setSegment('userId'); - $segment->setCategory('General_Visit'); - $segment->setName('CoreHome_UserId'); - $segment->setAcceptedValues('Here you should explain which values are accepted/useful: Any number, for instance 1, 2, 3 , 99'); - $this->addSegment($segment);*/ - } - /** * @param Request $request * @param Visitor $visitor