@@ -39,9 +39,7 @@ |
||
39 | 39 | use OC\AppFramework\Http; |
40 | 40 | use OCP\AppFramework\Controller; |
41 | 41 | use OCP\AppFramework\Http\DataResponse; |
42 | -use OCP\AppFramework\Http\TemplateResponse; |
|
43 | 42 | use OCP\IL10N; |
44 | -use OCP\ILogger; |
|
45 | 43 | use OCP\IRequest; |
46 | 44 | |
47 | 45 | class CirclesController extends Controller { |
@@ -39,9 +39,7 @@ |
||
39 | 39 | use OC\AppFramework\Http; |
40 | 40 | use OCP\AppFramework\Controller; |
41 | 41 | use OCP\AppFramework\Http\DataResponse; |
42 | -use OCP\AppFramework\Http\TemplateResponse; |
|
43 | 42 | use OCP\IL10N; |
44 | -use OCP\ILogger; |
|
45 | 43 | use OCP\IRequest; |
46 | 44 | |
47 | 45 | class MembersController extends Controller { |
@@ -202,8 +202,9 @@ |
||
202 | 202 | $circle->setDescription($arr['description']); |
203 | 203 | $circle->setType($arr['type']); |
204 | 204 | $circle->setCreation($arr['creation']); |
205 | - if (key_exists('count', $arr)) |
|
206 | - $circle->setCount($arr['count']); |
|
205 | + if (key_exists('count', $arr)) { |
|
206 | + $circle->setCount($arr['count']); |
|
207 | + } |
|
207 | 208 | |
208 | 209 | $owner = new Member(); |
209 | 210 | $owner->setUserId($arr['owner']); |