X-Git-Url: http://git.pjr.cc/?a=blobdiff_plain;f=gwvplib%2Fgwvpdebug.php;h=b1df4585b74a72798a6f43651a455232f633a125;hb=c1987fad28f920a3a90943c8cae1dbdf267e5454;hp=3793e313615ebb12c6f9690f83a96e7e7d9204ab;hpb=3dd9dc99f86e65eaf029f37329614dd2d06cea26;p=gwvp.git diff --git a/gwvplib/gwvpdebug.php b/gwvplib/gwvpdebug.php index 3793e31..b1df458 100644 --- a/gwvplib/gwvpdebug.php +++ b/gwvplib/gwvpdebug.php @@ -97,6 +97,11 @@ function gwvp_DebugCall() gwvp_createGroup("usergroup", 0, gwvp_getUserId("user@localhost")); gwvp_addGroupMember("user@localhost", "usergroup"); gwvp_SendMessage("info", "blank db re-created"); + + gwvp_AddRepo("repo1", "this is a test repo1", 1); + gwvp_AddRepo("repo2", "this is a test repo2", 1); + gwvp_AddRepo("repo2", "this is a test repo3", 1); + header("Location: $BASE_URL/debug"); break; case "dropallusersandgroups":