From 7ddea03684df47c861c264216b83e7653d6784fd Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 26 Oct 2008 14:03:18 -0400 Subject: move untrusted committer test into the wrapper This saves around 1/4th second per trusted commit since ikiwiki doesn't need to start up. --- ikiwiki.in | 5 ----- 1 file changed, 5 deletions(-) (limited to 'ikiwiki.in') diff --git a/ikiwiki.in b/ikiwiki.in index d601d2739..f2407b8d0 100755 --- a/ikiwiki.in +++ b/ikiwiki.in @@ -123,11 +123,6 @@ sub getconfig () { #{{{ # optimisation for no-op post_commit exit 0; } - elsif ($config{test_receive}) { - # quick success if the user is trusted - require IkiWiki::Receive; - exit 0 if IkiWiki::Receive::trusted(); - } loadplugins(); checkconfig(); -- cgit v1.2.3