diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2017-07-24 07:44:09 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2017-07-24 11:42:07 +0200 |
commit | 6d4731024a18b7497dc19eefa97393eae7a3617b (patch) | |
tree | ef70dba744dcf8fa79574b07a7627771f1c7f62e /settings/ajax/togglesubadmins.php | |
parent | 989614f9d5faa11157b232785537eb5cca927649 (diff) | |
download | nextcloud-server-6d4731024a18b7497dc19eefa97393eae7a3617b.tar.gz nextcloud-server-6d4731024a18b7497dc19eefa97393eae7a3617b.zip |
Some app fixes of phpstorm inspections
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'settings/ajax/togglesubadmins.php')
-rw-r--r-- | settings/ajax/togglesubadmins.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/settings/ajax/togglesubadmins.php b/settings/ajax/togglesubadmins.php index 5658a382410..c9cc078ed09 100644 --- a/settings/ajax/togglesubadmins.php +++ b/settings/ajax/togglesubadmins.php @@ -39,8 +39,8 @@ $targetUserObject = \OC::$server->getUserManager()->get($username); $targetGroupObject = \OC::$server->getGroupManager()->get($group); $isSubAdminOfGroup = false; -if($targetUserObject !== null && $targetUserObject !== null) { - $isSubAdminOfGroup = $subAdminManager->isSubAdminofGroup($targetUserObject, $targetGroupObject); +if($targetUserObject !== null && $targetGroupObject !== null) { + $isSubAdminOfGroup = $subAdminManager->isSubAdminOfGroup($targetUserObject, $targetGroupObject); } // Toggle group |