aboutsummaryrefslogtreecommitdiff
path: root/muamba.business.inc
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-11-15 13:08:46 -0200
committerSilvio Rhatto <rhatto@riseup.net>2011-11-15 13:08:46 -0200
commitc33d76cd586158deed9dbd97d94aa1f309b82c0e (patch)
tree9f62b4dbf4cfc7159d4865c6289d6e12ed8f382e /muamba.business.inc
parent2295fe29c395bc6b6306b2f11f187d26253ec54e (diff)
downloadmuamba-c33d76cd586158deed9dbd97d94aa1f309b82c0e.tar.gz
muamba-c33d76cd586158deed9dbd97d94aa1f309b82c0e.tar.bz2
Optionally reject all other pending requests
Diffstat (limited to 'muamba.business.inc')
-rw-r--r--muamba.business.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/muamba.business.inc b/muamba.business.inc
index 5d853a7..36c87ce 100644
--- a/muamba.business.inc
+++ b/muamba.business.inc
@@ -210,7 +210,9 @@ function muamba_accept($mid) {
$reply = privatemsg_reply($transaction['thread_id'], $message);
// Optionally reject all other pending requests
- //muamba_reject_all($node);
+ if (variable_get('muamba_reject_all_on_accept', FALSE) == TRUE) {
+ muamba_reject_all($node);
+ }
return t('Accepted item request.');
}