瀏覽代碼

adaptes federated shares permission computation

AndyScherzinger 8 年之前
父節點
當前提交
1029a9e2e7
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/main/java/com/owncloud/android/ui/helpers/FileOperationsHelper.java

+ 2 - 1
src/main/java/com/owncloud/android/ui/helpers/FileOperationsHelper.java

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