X-Git-Url: http://git.pjr.cc/?p=gwvp.git;a=blobdiff_plain;f=gwvplib%2Fgwvpdebug.php;h=b1df4585b74a72798a6f43651a455232f633a125;hp=3793e313615ebb12c6f9690f83a96e7e7d9204ab;hb=774923bffbfc4efdc92cfece19ec7dc48a6b7f5b;hpb=b4ea890257641555456fce6f6f32b94709dcf9a1 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":