From: paulr Date: Mon, 7 Nov 2011 06:30:05 +0000 (+1100) Subject: more repo permissions additions X-Git-Url: http://git.pjr.cc/?a=commitdiff_plain;h=fe6b9fc0c565c690aee78c3b4620f27a65385c31;p=gwvp.git more repo permissions additions --- diff --git a/gwvplib/gwvpdatabase.php b/gwvplib/gwvpdatabase.php index 6b0a1f9..b45e360 100644 --- a/gwvplib/gwvpdatabase.php +++ b/gwvplib/gwvpdatabase.php @@ -680,8 +680,6 @@ function gwvp_addGroupMember($email, $groupname) if($uid!=false&&$gid!=false) gwvp_addGroupMemberByID($uid, $gid); else return false; - $conn->query($sql); - return true; } diff --git a/gwvplib/gwvpdebug.php b/gwvplib/gwvpdebug.php index a957a93..d658845 100644 --- a/gwvplib/gwvpdebug.php +++ b/gwvplib/gwvpdebug.php @@ -106,9 +106,6 @@ function gwvp_DebugCall() gwvp_addGroupMember("user@localhost", "usergroup"); gwvp_SendMessage("info", "blank db re-created"); - gwvp_createGitRepo("repo1"); - gwvp_createGitRepo("repo2"); - gwvp_createGitRepo("repo3"); 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);