|
@@ -1556,24 +1556,6 @@ public class FileContentProvider extends ContentProvider {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-
|
|
|
- if (!upgraded) {
|
|
|
- Log_OC.i(SQL, String.format(Locale.ENGLISH, UPGRADE_VERSION_MSG, oldVersion, newVersion));
|
|
|
- }
|
|
|
-
|
|
|
- if (oldVersion < 27 && newVersion >= 27) {
|
|
|
- Log_OC.i(SQL, "Entering in the #27 Adding token to ocUpload");
|
|
|
- db.beginTransaction();
|
|
|
- try {
|
|
|
- db.execSQL(ALTER_TABLE + ProviderTableMeta.UPLOADS_TABLE_NAME +
|
|
|
- ADD_COLUMN + ProviderTableMeta.UPLOADS_FOLDER_UNLOCK_TOKEN + " TEXT ");
|
|
|
- upgraded = true;
|
|
|
- db.setTransactionSuccessful();
|
|
|
- } finally {
|
|
|
- db.endTransaction();
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
if (!upgraded) {
|
|
|
Log_OC.i(SQL, String.format(Locale.ENGLISH, UPGRADE_VERSION_MSG, oldVersion, newVersion));
|
|
|
}
|