This commit is contained in:
M66B 2021-02-05 09:06:30 +01:00
parent 734dd57f5f
commit 9b587e59dd
3 changed files with 0 additions and 12 deletions

View File

@ -377,10 +377,6 @@ public class FragmentAccounts extends FragmentBase {
boolean force = false;
boolean outbox = false;
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
boolean enabled = prefs.getBoolean("enabled", true);
int pollInterval = prefs.getInt("poll_interval", ServiceSynchronize.DEFAULT_POLL_INTERVAL);
DB db = DB.getInstance(context);
try {
db.beginTransaction();

View File

@ -366,10 +366,6 @@ public class FragmentFolders extends FragmentBase {
boolean force = false;
boolean outbox = false;
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
boolean enabled = prefs.getBoolean("enabled", true);
int pollInterval = prefs.getInt("poll_interval", ServiceSynchronize.DEFAULT_POLL_INTERVAL);
DB db = DB.getInstance(context);
try {
db.beginTransaction();

View File

@ -1493,10 +1493,6 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
boolean now = true;
boolean force = false;
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
boolean enabled = prefs.getBoolean("enabled", true);
int pollInterval = prefs.getInt("poll_interval", ServiceSynchronize.DEFAULT_POLL_INTERVAL);
DB db = DB.getInstance(context);
try {
db.beginTransaction();