]> andersk Git - moira.git/commitdiff
quota typo screwed up list deletion; fix quota incremental in register
authormar <mar>
Thu, 7 Jun 1990 17:52:37 +0000 (17:52 +0000)
committermar <mar>
Thu, 7 Jun 1990 17:52:37 +0000 (17:52 +0000)
server/qsupport.qc

index 05b973ef79013a541282e7b02e438f1e07578c1b..1d2be1e589931af0cb8e622d4182d26ef7b8430c 100644 (file)
@@ -573,8 +573,8 @@ int setup_dlis(q, argv)
 ##                     servers.acl_type = "LIST"))
     if (flag)
        return(MR_IN_USE);
-##  repeat retrieve (flag = any(quotas.entity_id where quotas.entity_id=@id and
-##                     quotas.type = "GROUP"))
+##  repeat retrieve (flag = any(quota.entity_id where quota.entity_id=@id and
+##                     quota.type = "GROUP"))
     if (flag)
        return(MR_IN_USE);
 ##  repeat retrieve (flag=any(hostaccess.acl_id where hostaccess.acl_id=@id and
@@ -2737,7 +2737,8 @@ register_user(q, argv, cl)
     if (rowcount != 1)
       return(MR_INTERNAL);
     aargv[0] = login;
-    aargv[1] = login;
+    aargv[1] = "USER";
+    aargv[2] = login;
     sprintf(buffer, "q.entity_id = %d and q.filsys_id = values.value and q.type = \"USER\" and values.name = \"filsys_id\"", users_id);
     incremental_after("quota", buffer, aargv);
     com_err(whoami, 0, "quota of %d assigned", quota);
This page took 0.153552 seconds and 5 git commands to generate.