aboutsummaryrefslogtreecommitdiff
path: root/ikiwiki.in
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-10-26 14:03:18 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-10-26 14:03:18 -0400
commit7ddea03684df47c861c264216b83e7653d6784fd (patch)
treeebd9d227f25d9a2c07ee6ca4903c3131799fdeef /ikiwiki.in
parentb7c9682b32b0b7e52f9df1f8b32713de8e702e1f (diff)
downloadikiwiki-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-xikiwiki.in5
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();