Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nemt_backend
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tobin
nemt_backend
Commits
a20d7d7d
Commit
a20d7d7d
authored
Jun 14, 2019
by
Tobin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dc
parent
8ccbc854
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
Webservices.php
application/controllers/Webservices.php
+1
-1
Webservices_driver_model.php
application/models/Webservices_driver_model.php
+1
-1
No files found.
application/controllers/Webservices.php
View file @
a20d7d7d
...
...
@@ -497,7 +497,7 @@ class Webservices extends CI_Controller {
if
(
!
empty
(
$request
)
&&
isset
(
$request
[
'phone'
])
&&
!
empty
(
$request
[
'phone'
]))
{
$phStatus
=
$this
->
Webservice_model
->
phone_number_availability
(
$request
);
if
(
$phStatus
){
if
(
$phStatus
<=
0
){
print
json_encode
(
array
(
'status'
=>
'success'
,
'data'
=>
array
(
'is_available'
=>
true
)));
}
else
{
print
json_encode
(
array
(
'status'
=>
'success'
,
'data'
=>
array
(
'is_available'
=>
false
)));
...
...
application/models/Webservices_driver_model.php
View file @
a20d7d7d
...
...
@@ -797,7 +797,7 @@ function booster_seat($request) {
$data
=
array
(
'fcm_token'
=>
$request
[
'fcm_token'
]);
$this
->
db
->
where
(
'id'
,
$rs
->
driver_id
)
->
update
(
'drivers'
,
$data
);
$this
->
db
->
where
(
'
driver_
id'
,
$rs
->
driver_id
)
->
update
(
'drivers'
,
$data
);
return
true
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment