}
} #}}}
-sub lockwiki () { #{{{
+sub unlockwiki () { #{{{
close WIKILOCK;
} #}}}
# presumably the commit will trigger an update
# of the wiki
rcs_commit($message);
- unlock_wiki();
+ # prevent deadlock with post-commit hook
+ unlockwiki();
}
else {
loadindex();