[Phonehome-commits] r79 - branches/server-local

pamadio at garage.maemo.org pamadio at garage.maemo.org
Sun Oct 19 15:11:16 EEST 2008


Author: pamadio
Date: 2008-10-19 15:11:16 +0300 (Sun, 19 Oct 2008)
New Revision: 79

Modified:
   branches/server-local/ets.php
Log:
get_info and param names changed

Modified: branches/server-local/ets.php
===================================================================
--- branches/server-local/ets.php	2008-10-19 11:44:25 UTC (rev 78)
+++ branches/server-local/ets.php	2008-10-19 12:11:16 UTC (rev 79)
@@ -69,8 +69,8 @@
 // test if the xmlrpc login is working or not.
 function rpc_test_login($method_name,$params,$app_data)
 {
-	$uid = get_uid($params[XMLRPC_TABLET_ID],$params[XMLRPC_PW]);
-	if ($uid == 0)
+	$info = get_info($params[XMLRPC_MAC],$params[XMLRPC_PW]);
+	if(!$info)
 		return false;
 	return true;	
 }



More information about the Phonehome-commits mailing list