HCoop
/
bpt
/
portal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3cc1a9e
)
Activate reseting of delinquent high pledges
author
Adam Chlipala
<adamc@hcoop.net>
Thu, 22 May 2008 00:13:54 +0000
(
00:13
+0000)
committer
Adam Chlipala
<adamc@hcoop.net>
Thu, 22 May 2008 00:13:54 +0000
(
00:13
+0000)
money.sml
patch
|
blob
|
blame
|
history
diff --git
a/money.sml
b/money.sml
index
d0668a4
..
1ce5774
100644
(file)
--- a/
money.sml
+++ b/
money.sml
@@
-292,7
+292,7
@@
fun delinquentPledgers () =
end
fun resetPledges ids =
-
raise Fail ($`UPDATE WebUser SET shares = 1 WHERE id IN (^(String.concatWith ", " (List.map C.intToSql ids)))`
)
+
ignore (C.dml (getDb ()) ($`UPDATE WebUser SET shares = 1 WHERE id IN (^(String.concatWith ", " (List.map C.intToSql ids)))`)
)
fun freezeworthyPledgers () =
let