diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2011-10-06 16:50:35 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2011-10-06 16:50:35 -0300 |
commit | 5e044ecbd0e1914d93ebde1514b4567e8a17b1de (patch) | |
tree | 7f04c5f8c86302a744963c402530bdb6f7e79958 /muamba.business.inc | |
parent | 79c10bc8fd6277ee349872551e314a38605dc66b (diff) | |
download | muamba-5e044ecbd0e1914d93ebde1514b4567e8a17b1de.tar.gz muamba-5e044ecbd0e1914d93ebde1514b4567e8a17b1de.tar.bz2 |
Use muamba_current_transaction() at muamba_node_view()
Diffstat (limited to 'muamba.business.inc')
-rw-r--r-- | muamba.business.inc | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/muamba.business.inc b/muamba.business.inc index 195409f..cd9dc5d 100644 --- a/muamba.business.inc +++ b/muamba.business.inc @@ -6,6 +6,18 @@ */ /** + * Define which status belongs to an ongoing transaction. + */ +function muamba_ongoing() { + return array( + MUAMBA_REQUESTED, + MUAMBA_ACCEPTED, + MUAMBA_RETURNED, + MUAMBA_LOST, + ); +} + +/** * Determine possible actions for a transaction. * * @param $type |