From: <Ste...@nt...> - 2006-02-07 16:04:35
|
Author: SteffenPoulsen Date: 2006-02-07 08:02:18 -0800 (Tue, 07 Feb 2006) New Revision: 8741 Modified: twiki/branches/DEVELOP/lib/TWiki/Store.pm Log: Item1583: Use general rev cleanup code Modified: twiki/branches/DEVELOP/lib/TWiki/Store.pm =================================================================== --- twiki/branches/DEVELOP/lib/TWiki/Store.pm 2006-02-07 15:06:41 UTC (rev 8740) +++ twiki/branches/DEVELOP/lib/TWiki/Store.pm 2006-02-07 16:02:18 UTC (rev 8741) @@ -102,9 +102,6 @@ is undef, then read the most recent version. The version number must be an integer, or undef for the latest version. -Earlier argument syntax for $version; 1.x (Cairo and earlier) -is also supported, but is to be deprecated. - if $user is defined, view permission will be required for the topic read to be successful. Access control violations are flagged by a TWiki::AccessControlException. Permissions are checked for the user @@ -123,9 +120,8 @@ ASSERT($this->isa('TWiki::Store')) if DEBUG; $web =~ s#\.#/#go; - # Cairo compatibility for rev="1.x"-style arguments in %INCLUDEs if (defined $version) { - $version =~ s/^1\.//go; + $version = $this->cleanUpRevID( $version ); } my $text = $this->readTopicRaw( $user, $web, $topic, $version ); |