mirror of
https://github.com/nextcloud/android.git
synced 2024-12-19 07:22:06 +03:00
fix codacy warning
This commit is contained in:
parent
da73fdbbe9
commit
433a281665
1 changed files with 1 additions and 2 deletions
|
@ -478,8 +478,7 @@ public class FileOperationsHelper {
|
|||
if (hideFileListing) {
|
||||
updateShareIntent.putExtra(OperationsService.EXTRA_SHARE_PERMISSIONS, OCShare.CREATE_PERMISSION_FLAG);
|
||||
} else {
|
||||
OwnCloudVersion serverVersion =
|
||||
com.owncloud.android.authentication.AccountUtils.getServerVersion(mFileActivity.getAccount());
|
||||
OwnCloudVersion serverVersion = AccountUtils.getServerVersion(mFileActivity.getAccount());
|
||||
|
||||
if (serverVersion != null && serverVersion.isNotReshareableFederatedSupported()) {
|
||||
updateShareIntent.
|
||||
|
|
Loading…
Reference in a new issue