From fe6b9fc0c565c690aee78c3b4620f27a65385c31 Mon Sep 17 00:00:00 2001 From: paulr Date: Mon, 7 Nov 2011 17:30:05 +1100 Subject: [PATCH] more repo permissions additions --- gwvplib/gwvpdatabase.php | 2 -- gwvplib/gwvpdebug.php | 3 --- 2 files changed, 0 insertions(+), 5 deletions(-) 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); -- 1.7.0.4