Subversion Repositories SmartDukaan

Rev

Rev 20101 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 20101 Rev 20440
Line 178... Line 178...
178
			if($brandSaved || $priceSaved) {
178
			if($brandSaved || $priceSaved) {
179
				$result = array('success'=>true,'message'=>'Preferences Saved');
179
				$result = array('success'=>true,'message'=>'Preferences Saved');
180
			}else{
180
			}else{
181
				$result = array('success'=>false,'message'=>$errors);
181
				$result = array('success'=>false,'message'=>$errors);
182
			}
182
			}
183
			$url = $this->apihost.'resetCache/'.$this->request->data['user_id'];
183
			$url = $this->apihost.'resetCache/?type=deals&keys='.$this->request->data['user_id'];
184
			$response = $this->make_request($url,null);
184
			$response = $this->make_request($url,null);
185
			$this->log('response '.print_r($response,1),'preferences');
185
			$this->log('response '.print_r($response,1),'preferences');
186
			$this->set(array(
186
			$this->set(array(
187
			    'result' => $result,
187
			    'result' => $result,
188
			    'callback' => $callback,
188
			    'callback' => $callback,