Skip to content
Snippets Groups Projects
Commit 530bc84c authored by Genvictus's avatar Genvictus
Browse files

fix: soap request params

parent ba82d875
No related merge requests found
......@@ -36,10 +36,11 @@ class SocmedSoapClient
public function requestUnlocking($socmed_id, $link_code)
{
var_dump($socmed_id);
var_dump($link_code);
$res = $this->client->call("requestUnlocking", array(
'arg0' => $socmed_id,
'arg1' => null,
'arg2' => $link_code,
'socmed_id' => $socmed_id,
'link_code' => $link_code,
));
return $res;
}
......
......@@ -53,7 +53,7 @@ class PostController extends BaseController
);
// send SOAP message when user reached 10th post
if ($post_id == 9) {
if ($post_id == 4) {
$soapClient = SocmedSoapClient::getInstance();
$soapClient->requestUnlocking($_SESSION['user_id'], $_SESSION['username']);
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment