moved permissions to radio boxes
[gwvp.git] / gwvplib / gwvpdatabase.php
index 6b0a1f9..792c1f7 100644 (file)
@@ -75,6 +75,7 @@ function gwvp_dbCreateSQLiteStructure($dbloc)
        $DB_CONNECTION->query($usersql);
        $DB_CONNECTION->query($groupsql);
        $DB_CONNECTION->query($reposql);
+       $DB_CONNECTION->query($repoperms);
        $DB_CONNECTION->query($configsql);
        $DB_CONNECTION->query($groupmemsql);
 }
@@ -680,8 +681,6 @@ function gwvp_addGroupMember($email, $groupname)
        if($uid!=false&&$gid!=false) gwvp_addGroupMemberByID($uid, $gid);
        else return false;
 
-       $conn->query($sql);
-
        return true;
 }