Skip to content

Commit

Permalink
Item12548: disabling forceTime (cdt) as it seems broken in piwik or w…
Browse files Browse the repository at this point in the history
…hatever

git-svn-id: http://svn.foswiki.org/trunk/PiwikPlugin@16830 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
MichaelDaum authored and MichaelDaum committed Jul 15, 2013
1 parent 51ad792 commit b30dcc5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/Foswiki/Plugins/PiwikPlugin/Tracker.pm
Expand Up @@ -79,8 +79,11 @@ sub init {
if ($Foswiki::cfg{PiwikPlugin}{TokenAuth}) {
$this->{params}{token_auth} = $Foswiki::cfg{PiwikPlugin}{TokenAuth};
$this->{params}{cip} = $this->{currentVisitor}{remoteAddr};
$this->{params}{cdt} = urlEncode(Foswiki::Time::formatTime(time(), '$year-$mo-$day $hours:$minutes:$seconds'));
#$this->{params}{cdt} = Foswiki::Time::formatTime(time(), '$year-$mo-$day $hours:$minutes:$seconds');# SMELL: does it need to be ... $day, $hours...?
#$this->{params}{cdt} = time();
#print STDERR "cdt=$this->{params}{cdt}\n";
}


$this->saveVisitorState;

Expand Down

0 comments on commit b30dcc5

Please sign in to comment.