diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2011-10-06 14:51:42 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2011-10-06 14:51:42 -0300 |
commit | 6ac290695fc15a0c81260d172b1e9d7f54f1a715 (patch) | |
tree | 33eb1ee2ac70614c9799effafdebdab202c5b6b8 | |
parent | 12f55f534e67ca29e16c83c089b614022ea0ac0b (diff) | |
download | muamba-6ac290695fc15a0c81260d172b1e9d7f54f1a715.tar.gz muamba-6ac290695fc15a0c81260d172b1e9d7f54f1a715.tar.bz2 |
Fixing cancel action/status
-rw-r--r-- | muamba.misc.inc | 2 | ||||
-rw-r--r-- | muamba.module | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/muamba.misc.inc b/muamba.misc.inc index 7ffa0e0..0b857bd 100644 --- a/muamba.misc.inc +++ b/muamba.misc.inc @@ -44,6 +44,7 @@ function muamba_statuses($code = NULL) { MUAMBA_REJECTED => 'rejected', MUAMBA_RELEASED => 'released', MUAMBA_RETURNED => 'returned', + MUAMBA_CANCELLED => 'cancelled', ); if ($code == NULL) { @@ -70,6 +71,7 @@ function muamba_actions($code = NULL) { MUAMBA_REJECTED => 'reject', MUAMBA_RELEASED => 'release', MUAMBA_RETURNED => 'return', + MUAMBA_CANCELLED => 'cancel', ); if ($code == NULL) { diff --git a/muamba.module b/muamba.module index fa72412..fd6fd74 100644 --- a/muamba.module +++ b/muamba.module @@ -14,7 +14,7 @@ define('MUAMBA_ACCEPTED', 1); define('MUAMBA_REJECTED', 2); define('MUAMBA_RELEASED', 3); define('MUAMBA_RETURNED', 4); -define('MUAMBA_CANCELLED', 4); +define('MUAMBA_CANCELLED', 5); // Load requirements. include_once('muamba.misc.inc'); |