Browse Source

Revert the name fix wich was corrupting the database

Juan Carlos González Cabrero 9 years ago
parent
commit
49daadefba

+ 1 - 0
src/com/owncloud/android/datamodel/FileDataStorageManager.java

@@ -1525,6 +1525,7 @@ public class FileDataStorageManager {
                     getContentResolver().applyBatch(MainApp.getAuthority(), operations);
 
                 } else {
+
                     getContentProviderClient().applyBatch(operations);
                 }
 

+ 1 - 1
src/com/owncloud/android/db/ProviderMeta.java

@@ -85,7 +85,7 @@ public class ProviderMeta {
         public static final String OCSHARES_FILE_SOURCE = "file_source";
         public static final String OCSHARES_ITEM_SOURCE = "item_source";
         public static final String OCSHARES_SHARE_TYPE = "share_type";
-        public static final String OCSHARES_SHARE_WITH = "share_with";
+        public static final String OCSHARES_SHARE_WITH = "shate_with";
         public static final String OCSHARES_PATH = "path";
         public static final String OCSHARES_PERMISSIONS = "permissions";
         public static final String OCSHARES_SHARED_DATE = "shared_date";