src/Charcoal/Admin/Action/AddJoinAction.php 1 location
|
@@ 34-43 (lines=10) @@
|
31 |
|
{ |
32 |
|
$params = $request->getParams(); |
33 |
|
|
34 |
|
if ( |
35 |
|
!isset($params['attachments']) || |
36 |
|
!isset($params['obj_id']) || |
37 |
|
!isset($params['obj_type']) || |
38 |
|
!isset($params['group']) |
39 |
|
) { |
40 |
|
$this->setSuccess(false); |
41 |
|
|
42 |
|
return $response; |
43 |
|
} |
44 |
|
|
45 |
|
$attachments = $params['attachments']; |
46 |
|
$objId = $params['obj_id']; |
src/Charcoal/Admin/Action/JoinAction.php 1 location
|
@@ 34-43 (lines=10) @@
|
31 |
|
{ |
32 |
|
$params = $request->getParams(); |
33 |
|
|
34 |
|
if ( |
35 |
|
!isset($params['attachments']) || |
36 |
|
!isset($params['obj_id']) || |
37 |
|
!isset($params['obj_type']) || |
38 |
|
!isset($params['group']) |
39 |
|
) { |
40 |
|
$this->setSuccess(false); |
41 |
|
|
42 |
|
return $response; |
43 |
|
} |
44 |
|
|
45 |
|
$attachments = $params['attachments']; |
46 |
|
$objId = $params['obj_id']; |
src/Charcoal/Admin/Action/RemoveJoinAction.php 1 location
|
@@ 35-44 (lines=10) @@
|
32 |
|
{ |
33 |
|
$params = $request->getParams(); |
34 |
|
|
35 |
|
if ( |
36 |
|
!isset($params['attachment_id']) || |
37 |
|
!isset($params['obj_id']) || |
38 |
|
!isset($params['obj_type']) || |
39 |
|
!isset($params['group']) |
40 |
|
) { |
41 |
|
$this->setSuccess(false); |
42 |
|
|
43 |
|
return $response; |
44 |
|
} |
45 |
|
|
46 |
|
$attachmentId = $params['attachment_id']; |
47 |
|
$objId = $params['obj_id']; |