code/control/FacebookCallback.php 1 location
|
@@ 602-609 (lines=8) @@
|
| 599 |
|
/** |
| 600 |
|
* alias for RemoveFaceBook |
| 601 |
|
*/ |
| 602 |
|
public function remove($request = null) |
| 603 |
|
{ |
| 604 |
|
$token = SecurityToken::inst(); |
| 605 |
|
if (!$token->checkRequest($request)) { |
| 606 |
|
return $this->httpError(400); |
| 607 |
|
} |
| 608 |
|
return $this->RemoveFacebook($request); |
| 609 |
|
} |
| 610 |
|
|
| 611 |
|
/** |
| 612 |
|
* remove connection to facebook |
code/control/LinkedinCallback.php 1 location
|
@@ 535-542 (lines=8) @@
|
| 532 |
|
} |
| 533 |
|
|
| 534 |
|
|
| 535 |
|
public function remove($request = null) |
| 536 |
|
{ |
| 537 |
|
$token = SecurityToken::inst(); |
| 538 |
|
if (!$token->checkRequest($request)) { |
| 539 |
|
return $this->httpError(400); |
| 540 |
|
} |
| 541 |
|
return $this->RemoveLinkedin($request); |
| 542 |
|
} |
| 543 |
|
|
| 544 |
|
|
| 545 |
|
// ============================================== REMOVE Linkedin ======================== |
code/control/TwitterCallback.php 1 location
|
@@ 594-601 (lines=8) @@
|
| 591 |
|
return $this->redirect($backURL); |
| 592 |
|
} |
| 593 |
|
|
| 594 |
|
public function remove($request = null) |
| 595 |
|
{ |
| 596 |
|
$token = SecurityToken::inst(); |
| 597 |
|
if (!$token->checkRequest($request)) { |
| 598 |
|
return $this->httpError(400); |
| 599 |
|
} |
| 600 |
|
return $this->RemoveTwitter($request); |
| 601 |
|
} |
| 602 |
|
|
| 603 |
|
|
| 604 |
|
// ============================================== REMOVE TWITTER ======================== |