projects
/
gwvp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
673b7aa
)
more repo permissions additions
author
paulr
<me@pjr.cc>
Mon, 7 Nov 2011 06:30:05 +0000 (17:30 +1100)
committer
paulr
<me@pjr.cc>
Mon, 7 Nov 2011 06:30:05 +0000 (17:30 +1100)
gwvplib/gwvpdatabase.php
patch
|
blob
|
history
gwvplib/gwvpdebug.php
patch
|
blob
|
history
diff --git
a/gwvplib/gwvpdatabase.php
b/gwvplib/gwvpdatabase.php
index
6b0a1f9
..
b45e360
100644
(file)
--- 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
(file)
--- 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);