more repo permissions additions
authorpaulr <me@pjr.cc>
Mon, 7 Nov 2011 06:30:05 +0000 (17:30 +1100)
committerpaulr <me@pjr.cc>
Mon, 7 Nov 2011 06:30:05 +0000 (17:30 +1100)
gwvplib/gwvpdatabase.php
gwvplib/gwvpdebug.php

index 6b0a1f9..b45e360 100644 (file)
@@ -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;
 }
 
index a957a93..d658845 100644 (file)
@@ -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);