Committer: sbelyaev
LJSUP-13176: JSON RPC code refactoringU trunk/cgi-bin/LJ/JSON/RPC/Item.pm
Modified: trunk/cgi-bin/LJ/JSON/RPC/Item.pm =================================================================== --- trunk/cgi-bin/LJ/JSON/RPC/Item.pm 2012-08-02 10:56:38 UTC (rev 22550) +++ trunk/cgi-bin/LJ/JSON/RPC/Item.pm 2012-08-02 11:01:14 UTC (rev 22551) @@ -36,7 +36,7 @@ # # Check for auth information # - my $access = LJ::API::RpcAuth->rpc_access($uri, $params); + my $access = LJ::API::Auth->rpc_access($uri, $params); $self->{'fatal'} = $access->{'error'}; if ($self->{'fatal'}) { return $self;