[Phonehome-commits] r54 - in branches/server-tmp: . common
pamadio at garage.maemo.org
pamadio at garage.maemo.org
Sat Oct 18 18:28:55 EEST 2008
Author: pamadio
Date: 2008-10-18 18:28:54 +0300 (Sat, 18 Oct 2008)
New Revision: 54
Modified:
branches/server-tmp/common/useful_stuff.php
branches/server-tmp/ets.php
Log:
plop
Modified: branches/server-tmp/common/useful_stuff.php
===================================================================
--- branches/server-tmp/common/useful_stuff.php 2008-10-18 15:27:30 UTC (rev 53)
+++ branches/server-tmp/common/useful_stuff.php 2008-10-18 15:28:54 UTC (rev 54)
@@ -8,7 +8,7 @@
////////////////////////////////////////////////
// xml-rpc param offsets
-define("XMLRPC_USERNAME",0);
+define("XMLRPC_TABLET_ID",0);
define("XMLRPC_PW",1);
define("XMLRPC_LAT",2);
Modified: branches/server-tmp/ets.php
===================================================================
--- branches/server-tmp/ets.php 2008-10-18 15:27:30 UTC (rev 53)
+++ branches/server-tmp/ets.php 2008-10-18 15:28:54 UTC (rev 54)
@@ -29,7 +29,7 @@
function rpc_store_location($method_name,$params,$app_data)
{
// get user_id or zero
- $uid = get_uid($params[XMLRPC_USERNAME],$params[XMLRPC_PW]);
+ $uid = get_uid($params[XMLRPC_TABLET_ID],$params[XMLRPC_PW]);
if ($uid == 0)
return false;
@@ -51,7 +51,7 @@
// store image in user specific directory (created dynamically)
function rpc_store_picture($method_name,$params,$app_data)
{
- $uid = get_uid($params[XMLRPC_USERNAME],$params[XMLRPC_PW]);
+ $uid = get_uid($params[XMLRPC_TABLET_ID],$params[XMLRPC_PW]);
if ($uid == 0)
return false;
More information about the Phonehome-commits
mailing list