diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2011-09-26 21:11:41 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2011-09-26 21:11:41 -0300 |
commit | 461a0d5737e8aec766758c9887904d53eb177e8f (patch) | |
tree | eecf527ea1642577a3d1a225c3cfc4fe572bf4d3 /muamba.db.inc | |
parent | 8bc407811575c36fc24dda235e263e9366efbe1e (diff) | |
download | muamba-461a0d5737e8aec766758c9887904d53eb177e8f.tar.gz muamba-461a0d5737e8aec766758c9887904d53eb177e8f.tar.bz2 |
Adding more transaction logic
Diffstat (limited to 'muamba.db.inc')
-rw-r--r-- | muamba.db.inc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/muamba.db.inc b/muamba.db.inc index 93eb5bc..bd2322f 100644 --- a/muamba.db.inc +++ b/muamba.db.inc @@ -42,6 +42,15 @@ function muamba_check_user_request($nid, $uid) { * * @param $uid * Requester user uid. + * + * @param $type + * Transaction type (sent or received). + * + * @param $status + * Current transaction status. + * + * @return + * Array of existing transactions. */ function muamba_get_transactions($uid, $type = 'sent', $status = MUAMBA_REQUESTED) { $uid = (int) $uid; |