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:19:29 UTC

svn commit: r1580286 - /thrift/cms-site/trunk/lib/view.pm

Author: joes
Date: Sat Mar 22 19:19:29 2014
New Revision: 1580286

URL: http://svn.apache.org/r1580286
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=1580286&r1=1580285&r2=1580286&view=diff
==============================================================================
--- thrift/cms-site/trunk/lib/view.pm (original)
+++ thrift/cms-site/trunk/lib/view.pm Sat Mar 22 19:19:29 2014
@@ -10,13 +10,13 @@ sub memoize {
         my $view = ref $args{view} ? shift @{$args{view}} : delete $args{view};
         return view->can($view)->(%args);
     }
-    goto &ASF::View::memoize;
+    &ASF::View::memoize;
 }
 
 sub sitemap {
     # sitemap data doesn't require snippets
-#    local $ASF::Value::Offline = 1;
-    goto &ASF::View::sitemap;
+    local $ASF::Value::Offline = 1;
+    &ASF::View::sitemap;
 }
 
 1;