fmsystem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fmsystem-commits] [15287] property: more on integration


From: sigurdne
Subject: [Fmsystem-commits] [15287] property: more on integration
Date: Tue, 14 Jun 2016 11:12:47 +0000 (UTC)

Revision: 15287
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=15287
Author:   sigurdne
Date:     2016-06-14 11:12:47 +0000 (Tue, 14 Jun 2016)
Log Message:
-----------
property: more on integration

Modified Paths:
--------------
    trunk/property/inc/class.uitts.inc.php

Modified: trunk/property/inc/class.uitts.inc.php
===================================================================
--- trunk/property/inc/class.uitts.inc.php      2016-06-14 11:00:44 UTC (rev 
15286)
+++ trunk/property/inc/class.uitts.inc.php      2016-06-14 11:12:47 UTC (rev 
15287)
@@ -2870,7 +2870,7 @@
                                $username       = 
$config->config_data['external_register']['username'];
                                $password       = 
$config->config_data['external_register']['password'];
                                $sub_check = 'objekt';
-                               return $this->check_external_register(array(
+                               $fullmakt = 
$this->check_external_register(array(
                                        'url'           => $url,
                                        'username'      => $username,
                                        'password'      => $password,
@@ -2878,12 +2878,20 @@
                                        'id'            => $id
                                        )
                                );
+
+                               /**
+                                * some magic...to decide $supervisor_lid
+                                */
+
+                               $supervisor_lid = 'hc483';
+                               $supervisor_id = 
$GLOBALS['phpgw']->accounts->name2id($supervisor_lid);
                        }
                        else
                        {
                                $supervisor_id = 
$GLOBALS['phpgw_info']['user']['preferences']['property']['approval_from'];
-                               return 
$this->get_supervisor_email($supervisor_id);
                        }
+
+                       return $this->get_supervisor_email($supervisor_id);
                }
 
                public function check_external_register($param)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]