mirror of
https://github.com/nextcloud/android.git
synced 2024-11-26 15:15:51 +03:00
Clear redundant things
Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
parent
933cac4957
commit
bf777ef3b2
1 changed files with 0 additions and 6 deletions
|
@ -62,7 +62,6 @@ import com.owncloud.android.authentication.AccountUtils;
|
|||
import com.owncloud.android.authentication.AuthenticatorActivity;
|
||||
import com.owncloud.android.datamodel.ArbitraryDataProvider;
|
||||
import com.owncloud.android.datamodel.PushConfigurationState;
|
||||
import com.owncloud.android.datamodel.SyncedFolderProvider;
|
||||
import com.owncloud.android.lib.common.UserInfo;
|
||||
import com.owncloud.android.lib.common.operations.RemoteOperation;
|
||||
import com.owncloud.android.lib.common.operations.RemoteOperationResult;
|
||||
|
@ -408,10 +407,6 @@ public class UserInfoActivity extends FileActivity {
|
|||
ContactsPreferenceActivity.cancelContactBackupJobForAccount(getActivity(), account);
|
||||
|
||||
ContentResolver contentResolver = getActivity().getContentResolver();
|
||||
// delete all synced folder for an account
|
||||
SyncedFolderProvider syncedFolderProvider = new SyncedFolderProvider(
|
||||
contentResolver);
|
||||
syncedFolderProvider.deleteSyncFoldersForAccount(account);
|
||||
|
||||
// disable daily backup
|
||||
ArbitraryDataProvider arbitraryDataProvider = new ArbitraryDataProvider(
|
||||
|
@ -421,7 +416,6 @@ public class UserInfoActivity extends FileActivity {
|
|||
ContactsPreferenceActivity.PREFERENCE_CONTACTS_AUTOMATIC_BACKUP,
|
||||
"false");
|
||||
|
||||
|
||||
String arbitraryDataPushString;
|
||||
|
||||
if (!TextUtils.isEmpty(arbitraryDataPushString = arbitraryDataProvider.getValue(
|
||||
|
|
Loading…
Reference in a new issue