comanage-dev - [comanage-dev] r321 - registry/trunk/app/Model
Subject: COmanage Developers List
List archive
- From:
- To:
- Subject: [comanage-dev] r321 - registry/trunk/app/Model
- Date: Fri, 20 Jul 2012 22:44:25 -0400
Author: benno
Date: 2012-07-20 22:44:25 -0400 (Fri, 20 Jul 2012)
New Revision: 321
Modified:
registry/trunk/app/Model/CoPetition.php
Log:
Interim setting of Active status for CO-321
Modified: registry/trunk/app/Model/CoPetition.php
===================================================================
--- registry/trunk/app/Model/CoPetition.php 2012-07-21 02:43:35 UTC (rev
320)
+++ registry/trunk/app/Model/CoPetition.php 2012-07-21 02:44:25 UTC (rev
321)
@@ -663,6 +663,12 @@
$valid = true;
$newCoPersonStatus = $newStatus;
}
+
+ // XXX This is temporary for CO-321 since there isn't currently a way
for an approved people
+ // to become active. This should be dropped when a more
workflow-oriented mechanism is implemented.
+ if($newStatus == StatusEnum::Approved) {
+ $newCoPersonStatus = StatusEnum::Active;
+ }
}
if($valid) {
- [comanage-dev] r321 - registry/trunk/app/Model, svnlog, 07/20/2012
Archive powered by MHonArc 2.6.16.