You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lu...@apache.org on 2014/01/31 22:52:51 UTC
svn commit: r1563273 - /myfaces/site/cms-site/trunk/lib/view.pm
Author: lu4242
Date: Fri Jan 31 21:52:51 2014
New Revision: 1563273
URL: http://svn.apache.org/r1563273
Log:
test how to fix documentation
Modified:
myfaces/site/cms-site/trunk/lib/view.pm
Modified: myfaces/site/cms-site/trunk/lib/view.pm
URL: http://svn.apache.org/viewvc/myfaces/site/cms-site/trunk/lib/view.pm?rev=1563273&r1=1563272&r2=1563273&view=diff
==============================================================================
--- myfaces/site/cms-site/trunk/lib/view.pm (original)
+++ myfaces/site/cms-site/trunk/lib/view.pm Fri Jan 31 21:52:51 2014
@@ -124,27 +124,6 @@ sub sitemapRender {
return $sitemap;
}
-
-# Returns information on the last change to the file
-# as a reference to a has with three properties
-# - rev The SVN Revision
-# - date The last modification date (seconds since the epoch)
-# - author of the revision
-sub svninfo {
- my $source = $_[0];
- my %info;
- my $receiver = sub {
- my $svninfo = $_[1];
- $info{rev} = $svninfo->last_changed_rev;
- $info{date} = $svninfo->last_changed_date / 1000000;
- $info{author} = $svninfo->last_changed_author;
- };
-
- my $ctx = SVN::Client->new;
- $ctx->info($source, undef, undef, $receiver, 0);
- return \%info;
-}
-
=head1 LICENSE
Licensed to the Apache Software Foundation (ASF) under one