Skip to content

Commit

Permalink
refs #3490 removed segment definition as it apparently depends on idS…
Browse files Browse the repository at this point in the history
…ites which I do not quite understand why
  • Loading branch information
tsteur committed Sep 22, 2014
1 parent c9f41a7 commit c0a29a9
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions plugins/CoreHome/Columns/UserId.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,30 +19,15 @@
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
Expand Down

0 comments on commit c0a29a9

Please sign in to comment.