From 6477bde32245a3755cae7f19851166395a77e779 Mon Sep 17 00:00:00 2001 From: ctrlaltca <> Date: Wed, 29 Aug 2012 11:09:03 +0000 Subject: removed debug from previous commit --- framework/Web/Services/TRpcService.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'framework') diff --git a/framework/Web/Services/TRpcService.php b/framework/Web/Services/TRpcService.php index 1b52c06b..06849ea1 100644 --- a/framework/Web/Services/TRpcService.php +++ b/framework/Web/Services/TRpcService.php @@ -71,6 +71,8 @@ class TRpcService extends TService if(($_rpcServerClass = $_properties->remove('server')) === null) $_rpcServerClass = self::BASE_RPC_SERVER; + prado::using($_rpcServerClass); + $_rpcServerClassName = ($_pos = strrpos($_rpcServerClass, '.')) !== false ? substr($_rpcServerClass, $_pos + 1) : $_rpcServerClass; if($_rpcServerClassName!==self::BASE_RPC_SERVER && !is_subclass_of($_rpcServerClassName, self::BASE_RPC_SERVER)) throw new TConfigurationException('rpcservice_rpcserver_invalid'); @@ -359,7 +361,6 @@ class TJsonRpcProtocol extends TRpcProtocol } catch(Exception $e) { - error_log(Prado::varDump($e)); return $this->createErrorResponse(new TRpcException('An internal error occured')); } } -- cgit v1.2.3