Changeset 2459620
- Timestamp:
- 01/20/2021 11:58:39 AM (5 years ago)
- Location:
- vine-ma/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (1 diff)
-
vine_ma_plugin.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
vine-ma/trunk/readme.txt
r2436326 r2459620 21 21 22 22 == Changelog == 23 24 = 1.1.2 = 25 * Bugfixing 23 26 24 27 = 1.1.1 = -
vine-ma/trunk/vine_ma_plugin.php
r2436326 r2459620 131 131 //get user organization id 132 132 function vine_ma_get_organizationid_username($token) { 133 $url=VINEHOST."/api/rest/2.0/ vy_user?\$authtoken={$token}";133 $url=VINEHOST."/api/rest/2.0/user?\$authtoken={$token}"; 134 134 $args = array( 135 135 'timeout' => 20, … … 145 145 foreach($xml->xpath('//m:properties') as $event) { 146 146 $orgid = (string)$event->xpath('d:ORGANIZATIONID')[0]; 147 $username = (string)$event->xpath('d:NAME')[0]; 147 $firstname = (string)$event->xpath('d:FIRSTNAME')[0]; 148 $lastname = (string)$event->xpath('d:LASTNAME')[0]; 149 $email = (string)$event->xpath('d:EMAIL')[0]; 150 $username = $firstname . ' ' . $lastname . ' (' . $email . ')'; 148 151 } 149 152 return array(
Note: See TracChangeset
for help on using the changeset viewer.