|
@@ 2478-2486 (lines=9) @@
|
| 2475 |
|
$success = FALSE; |
| 2476 |
|
} |
| 2477 |
|
|
| 2478 |
|
if ( $success ) { |
| 2479 |
|
//made it here? Stop dawdling then!! |
| 2480 |
|
if ( $status == 'off' ) { |
| 2481 |
|
//off = deactivate. get it? |
| 2482 |
|
$success = $this->_activate_messenger( $this->_req_data['messenger'], TRUE ); |
| 2483 |
|
} else { |
| 2484 |
|
$success = $this->_activate_messenger( $this->_req_data['messenger'] ); |
| 2485 |
|
} |
| 2486 |
|
} |
| 2487 |
|
|
| 2488 |
|
$this->_template_args['success'] = $success; |
| 2489 |
|
|
|
@@ 2543-2547 (lines=5) @@
|
| 2540 |
|
} |
| 2541 |
|
|
| 2542 |
|
|
| 2543 |
|
if ( $success ) { |
| 2544 |
|
//made it here? um, what are you waiting for then? |
| 2545 |
|
$deactivate = $status == 'deactivate' ? TRUE : FALSE; |
| 2546 |
|
$success = $this->_activate_messenger( $this->_req_data['messenger'], $deactivate, $this->_req_data['message_type'] ); |
| 2547 |
|
} |
| 2548 |
|
|
| 2549 |
|
$this->_template_args['success'] = $success; |
| 2550 |
|
$this->_return_json(); |