Php cs fix
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
parent
50d9e83ed1
commit
fcae747c5f
19 changed files with 67 additions and 79 deletions
|
|
@ -29,13 +29,10 @@ use OCP\AppFramework\Http;
|
|||
use OCP\AppFramework\Http\DataResponse;
|
||||
|
||||
use OCP\IGroupManager;
|
||||
use OCP\IUser;
|
||||
use OCP\IUserManager;
|
||||
use OCP\IConfig;
|
||||
use OCP\IRequest;
|
||||
|
||||
class SystemController extends Controller {
|
||||
|
||||
public function __construct(
|
||||
string $appName,
|
||||
IGroupManager $groupManager,
|
||||
|
|
@ -52,9 +49,9 @@ class SystemController extends Controller {
|
|||
* @NoAdminRequired
|
||||
* @return DataResponse
|
||||
*/
|
||||
public function getSiteUsersAndGroups($query = '', $getGroups = true, $getUsers = true, $skipGroups = array(), $skipUsers = array()) {
|
||||
$list = array();
|
||||
$data = array();
|
||||
public function getSiteUsersAndGroups($query = '', $getGroups = true, $getUsers = true, $skipGroups = [], $skipUsers = []) {
|
||||
$list = [];
|
||||
$data = [];
|
||||
if ($getGroups) {
|
||||
$groups = $this->groupManager->search($query);
|
||||
foreach ($groups as $group) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue