From: <de...@de...> - 2011-02-02 07:47:37
|
Author: PeterThoeny Date: 2011-02-02 01:47:31 -0600 (Wed, 02 Feb 2011) New Revision: 20375 Trac url: http://develop.twiki.org/trac/changeset/20375 Modified: twiki/trunk/core/lib/TWiki/Func.pm Log: Item6639: Fixing typo in doc example Modified: twiki/trunk/core/lib/TWiki/Func.pm =================================================================== --- twiki/trunk/core/lib/TWiki/Func.pm 2011-02-02 07:07:59 UTC (rev 20374) +++ twiki/trunk/core/lib/TWiki/Func.pm 2011-02-02 07:47:31 UTC (rev 20375) @@ -2867,7 +2867,7 @@ TWiki::Func::writeLog( $web, $topic, 'myevent', $extra ); } else { # deprecated code if plugin is used in older TWiki releases - $TWiki::Plugins::SESSION > 1.1 + $TWiki::Plugins::VERSION > 1.1 ? $TWiki::Plugins::SESSION->writeLog( 'myevent', "$web.$topic", $extra ) : TWiki::Store::writeLog( 'myevent', "$web.$topic", $extra ); } @@ -2921,7 +2921,7 @@ If the value is undef, then =$default= is returned. If =$default= is not specified it is taken as 0. -*Since:* $TWiki::Plugins::VERSION 1.2 +*Since:* TWiki::Plugins::VERSION 1.2 =cut |