]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Plugin/signinedit.pm
POSIX::setsid is not exported per default
[ikiwiki.git] / IkiWiki / Plugin / signinedit.pm
index d5729f70258a56c08f01b33eae4ec62969779409..84ab3a4d0cbc7777b8df2b5b8c62cb0f0b94a9c9 100644 (file)
@@ -19,7 +19,7 @@ sub canedit ($$$) { #{{{
        # hook runs last, so that any hooks that don't need the user to
        # signin can override this.
         if (! defined $session->param("name") ||
-            ! userinfo_get($session->param("name"), "regdate")) {
+            ! IkiWiki::userinfo_get($session->param("name"), "regdate")) {
                return sub { IkiWiki::needsignin($cgi, $session) };
        }
        else {