From 91763f62ddbefd628342c49ad6310ffc1c1eddad Mon Sep 17 00:00:00 2001 From: misaochan Date: Fri, 6 Nov 2015 16:15:30 +1300 Subject: [PATCH] Removed residual Campaigns code Not sure why some got left behind. Didn't throw any errors until today. --- .../src/main/java/fr/free/nrw/commons/auth/LoginActivity.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/commons/src/main/java/fr/free/nrw/commons/auth/LoginActivity.java b/commons/src/main/java/fr/free/nrw/commons/auth/LoginActivity.java index 521895285..78f06012f 100644 --- a/commons/src/main/java/fr/free/nrw/commons/auth/LoginActivity.java +++ b/commons/src/main/java/fr/free/nrw/commons/auth/LoginActivity.java @@ -17,7 +17,6 @@ import android.support.v4.app.NavUtils; import fr.free.nrw.commons.*; 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.CommonsApplication; 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 ContentResolver.setSyncAutomatically(account, ContributionsContentProvider.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(); } else { int response;