diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-10-26 14:03:18 -0400 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-10-26 14:03:18 -0400 |
commit | 7ddea03684df47c861c264216b83e7653d6784fd (patch) | |
tree | ebd9d227f25d9a2c07ee6ca4903c3131799fdeef /ikiwiki.in | |
parent | b7c9682b32b0b7e52f9df1f8b32713de8e702e1f (diff) | |
download | ikiwiki-7ddea03684df47c861c264216b83e7653d6784fd.tar ikiwiki-7ddea03684df47c861c264216b83e7653d6784fd.tar.gz |
move untrusted committer test into the wrapper
This saves around 1/4th second per trusted commit since ikiwiki
doesn't need to start up.
Diffstat (limited to 'ikiwiki.in')
-rwxr-xr-x | ikiwiki.in | 5 |
1 files changed, 0 insertions, 5 deletions
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(); |