Author: ggrekhov
Date: Tue Jun  5 08:59:37 2012
New Revision: 1346302

URL: http://svn.apache.org/viewvc?rev=1346302&view=rev
Log:
Teambox: some fixes for 2.0 version

Modified:
    
incubator/openmeetings/trunk/plugins/teambox/rest_lib/OpenMeetingsRestService.php

Modified: 
incubator/openmeetings/trunk/plugins/teambox/rest_lib/OpenMeetingsRestService.php
URL: 
http://svn.apache.org/viewvc/incubator/openmeetings/trunk/plugins/teambox/rest_lib/OpenMeetingsRestService.php?rev=1346302&r1=1346301&r2=1346302&view=diff
==============================================================================
--- 
incubator/openmeetings/trunk/plugins/teambox/rest_lib/OpenMeetingsRestService.php
 (original)
+++ 
incubator/openmeetings/trunk/plugins/teambox/rest_lib/OpenMeetingsRestService.php
 Tue Jun  5 08:59:37 2012
@@ -53,7 +53,7 @@ class OpenMeetingsRestService extends Re
         $request = $this->restApiUrl . 'UserService/getSession';
         $response = $this->call($request);
         $xml = $this->getXmlContent($response);
-        $this->sessionId = $xml->children('ns', 
true)->return->children('ax23', true)->session_id;
+        $this->sessionId = $xml->children('ns', 
true)->return->children('ax24', true)->session_id;
         
         $request = $this->restApiUrl.'UserService/loginUser?'
                 .'SID='.$this->sessionId
@@ -163,7 +163,10 @@ class OpenMeetingsRestService extends Re
             ."&roomtypes_id=3"
             ."&numberOfPartizipants=10"
             ."&ispublic=false"
-            ."&isModeratedRoom=false";
+            ."&isModeratedRoom=false"
+            ."&appointment=false"
+            ."&isDemoRoom=false"
+            ."&demoTime=0";
         
         $request = str_replace(' ', '_', $request);
         $response = $this->call($request);


Reply via email to