Skip to Content.
Sympa Menu

comanage-dev - [comanage-dev] r661 - registry/trunk/app/Plugin/LdapProvisioner/Model

Subject: COmanage Developers List

List archive

[comanage-dev] r661 - registry/trunk/app/Plugin/LdapProvisioner/Model


Chronological Thread 
  • From:
  • To:
  • Subject: [comanage-dev] r661 - registry/trunk/app/Plugin/LdapProvisioner/Model
  • Date: Sat, 25 Jan 2014 07:54:19 -0500

Author: benno
Date: 2014-01-25 07:54:19 -0500 (Sat, 25 Jan 2014)
New Revision: 661

Modified:
registry/trunk/app/Plugin/LdapProvisioner/Model/CoLdapProvisionerTarget.php
Log:
Fix rendering of CO Group provisioning status (CO-778)

Modified:
registry/trunk/app/Plugin/LdapProvisioner/Model/CoLdapProvisionerTarget.php
===================================================================
---
registry/trunk/app/Plugin/LdapProvisioner/Model/CoLdapProvisionerTarget.php
2014-01-25 00:27:33 UTC (rev 660)
+++
registry/trunk/app/Plugin/LdapProvisioner/Model/CoLdapProvisionerTarget.php
2014-01-25 12:54:19 UTC (rev 661)
@@ -791,7 +791,11 @@
// these conditions into a JOIN.
$args = array();
$args['conditions']['CoLdapProvisionerTarget.co_provisioning_target_id']
= $coProvisioningTargetId;
- $args['conditions']['CoLdapProvisionerDn.co_person_id'] = $coPersonId;
+ if($coPersonId) {
+ $args['conditions']['CoLdapProvisionerDn.co_person_id'] = $coPersonId;
+ } elseif($coGroupId) {
+ $args['conditions']['CoLdapProvisionerDn.co_group_id'] = $coGroupId;
+ }

$dnRecord = $this->CoLdapProvisionerDn->find('first', $args);




  • [comanage-dev] r661 - registry/trunk/app/Plugin/LdapProvisioner/Model, svnlog, 01/25/2014

Archive powered by MHonArc 2.6.16.

Top of Page