Subversion Repositories SmartDukaan

Rev

Rev 19274 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 19274 Rev 20284
Line 540... Line 540...
540
		if(!$count){
540
		if(!$count){
541
			$result = array('success'=>false);
541
			$result = array('success'=>false);
542
		}else{
542
		}else{
543
			$result = array('success'=>true);
543
			$result = array('success'=>true);
544
		}*/
544
		}*/
545
		$urlPush = Configure::read('nodeurl')."/getCampaignStatus?".$cid;
545
		$urlPush = Configure::read('nodeurl')."/getCampaignStatus?cid=".$cid;
546
		$result = $this->make_request($urlPush,json_encode($message,JSON_NUMERIC_CHECK));
546
		$result = $this->make_request($urlPush,'{}');
547
		$this->response->type('json');
547
		$this->response->type('json');
548
		$this->layout = 'ajax';
548
		$this->layout = 'ajax';
549
		$this->set(array(
549
		$this->set(array(
550
		    'result' => $result,
550
		    'result' => $result,
551
		    '_serialize' => array('result')
551
		    '_serialize' => array('result')