You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by jo...@apache.org on 2014/03/22 20:20:47 UTC
svn commit: r1580287 - /thrift/cms-site/trunk/lib/view.pm
Author: joes
Date: Sat Mar 22 19:20:47 2014
New Revision: 1580287
URL: http://svn.apache.org/r1580287
Log:
testing for speed
Modified:
thrift/cms-site/trunk/lib/view.pm
Modified: thrift/cms-site/trunk/lib/view.pm
URL: http://svn.apache.org/viewvc/thrift/cms-site/trunk/lib/view.pm?rev=1580287&r1=1580286&r2=1580287&view=diff
==============================================================================
--- thrift/cms-site/trunk/lib/view.pm (original)
+++ thrift/cms-site/trunk/lib/view.pm Sat Mar 22 19:20:47 2014
@@ -2,17 +2,6 @@ package view;
# see https://svn.apache.org/repos/infra/websites/cms/build/lib/ASF/View.pm
use base 'ASF::View';
-sub memoize {
- if ($ASF::Value::Offline) {
- # disable cache
- my %args = @_;
- $args{view} = [@{$args{view}}] if ref $args{view};
- my $view = ref $args{view} ? shift @{$args{view}} : delete $args{view};
- return view->can($view)->(%args);
- }
- &ASF::View::memoize;
-}
-
sub sitemap {
# sitemap data doesn't require snippets
local $ASF::Value::Offline = 1;