aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-11-14 12:08:56 -0200
committerSilvio Rhatto <rhatto@riseup.net>2011-11-14 12:08:56 -0200
commit13b318c27368c400e5079ce578adb6f8a79dd35c (patch)
treeb95b802f9a4235bc4d4cb4d4b603cc72df503d84
parent0e6694ff8749c2b5e542f21cdd48ccd9317c0705 (diff)
downloadmuamba-13b318c27368c400e5079ce578adb6f8a79dd35c.tar.gz
muamba-13b318c27368c400e5079ce578adb6f8a79dd35c.tar.bz2
TODO
-rw-r--r--images/unavailable.pngbin12484 -> 3152 bytes
-rw-r--r--muamba.business.inc5
2 files changed, 5 insertions, 0 deletions
diff --git a/images/unavailable.png b/images/unavailable.png
index 7b4f6d4..e1af23c 100644
--- a/images/unavailable.png
+++ b/images/unavailable.png
Binary files differ
diff --git a/muamba.business.inc b/muamba.business.inc
index d041702..5a29c9e 100644
--- a/muamba.business.inc
+++ b/muamba.business.inc
@@ -181,6 +181,10 @@ function muamba_request($nid) {
*
* @param $mid
* Transaction id.
+ *
+ * @todo
+ * Do not reject all other requests so postponing
+ * becomes a feature.
*/
function muamba_accept($mid) {
global $user;
@@ -442,6 +446,7 @@ function muamba_availability_info($nid) {
$transaction = $transactions[0];
if (!empty($transaction)) {
+ // TODO: what if there are more than one request?
if ($transaction['status'] == MUAMBA_REQUESTED) {
return t('Yes');
}