fix codacy warning

This commit is contained in:
AndyScherzinger 2016-11-22 23:06:15 +01:00
parent da73fdbbe9
commit 433a281665
No known key found for this signature in database
GPG key ID: 6CADC7E3523C308B

View file

@ -478,8 +478,7 @@ public class FileOperationsHelper {
if (hideFileListing) { if (hideFileListing) {
updateShareIntent.putExtra(OperationsService.EXTRA_SHARE_PERMISSIONS, OCShare.CREATE_PERMISSION_FLAG); updateShareIntent.putExtra(OperationsService.EXTRA_SHARE_PERMISSIONS, OCShare.CREATE_PERMISSION_FLAG);
} else { } else {
OwnCloudVersion serverVersion = OwnCloudVersion serverVersion = AccountUtils.getServerVersion(mFileActivity.getAccount());
com.owncloud.android.authentication.AccountUtils.getServerVersion(mFileActivity.getAccount());
if (serverVersion != null && serverVersion.isNotReshareableFederatedSupported()) { if (serverVersion != null && serverVersion.isNotReshareableFederatedSupported()) {
updateShareIntent. updateShareIntent.