mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 12:23:58 +01:00
Removed residual Campaigns code
Not sure why some got left behind. Didn't throw any errors until today.
This commit is contained in:
parent
1f3c0331bf
commit
91763f62dd
1 changed files with 0 additions and 2 deletions
|
|
@ -17,7 +17,6 @@ import android.support.v4.app.NavUtils;
|
||||||
|
|
||||||
import fr.free.nrw.commons.*;
|
import fr.free.nrw.commons.*;
|
||||||
import fr.free.nrw.commons.WelcomeActivity;
|
import fr.free.nrw.commons.WelcomeActivity;
|
||||||
import fr.free.nrw.commons.campaigns.CampaignsContentProvider;
|
|
||||||
import fr.free.nrw.commons.modifications.ModificationsContentProvider;
|
import fr.free.nrw.commons.modifications.ModificationsContentProvider;
|
||||||
import fr.free.nrw.commons.CommonsApplication;
|
import fr.free.nrw.commons.CommonsApplication;
|
||||||
import fr.free.nrw.commons.EventLog;
|
import fr.free.nrw.commons.EventLog;
|
||||||
|
|
@ -72,7 +71,6 @@ public class LoginActivity extends AccountAuthenticatorActivity {
|
||||||
// FIXME: If the user turns it off, it shouldn't be auto turned back on
|
// FIXME: If the user turns it off, it shouldn't be auto turned back on
|
||||||
ContentResolver.setSyncAutomatically(account, ContributionsContentProvider.AUTHORITY, true); // Enable sync by default!
|
ContentResolver.setSyncAutomatically(account, ContributionsContentProvider.AUTHORITY, true); // Enable sync by default!
|
||||||
ContentResolver.setSyncAutomatically(account, ModificationsContentProvider.AUTHORITY, true); // Enable sync by default!
|
ContentResolver.setSyncAutomatically(account, ModificationsContentProvider.AUTHORITY, true); // Enable sync by default!
|
||||||
ContentResolver.setSyncAutomatically(account, CampaignsContentProvider.AUTHORITY, true); // Enable sync by default!
|
|
||||||
context.finish();
|
context.finish();
|
||||||
} else {
|
} else {
|
||||||
int response;
|
int response;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue