]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/signinedit.pm
attachment location
[git.ikiwiki.info.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") ||
        # 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 {
                return sub { IkiWiki::needsignin($cgi, $session) };
        }
        else {