diff options
author | daneren2005 <daneren2005@gmail.com> | 2014-06-23 15:18:53 -0700 |
---|---|---|
committer | daneren2005 <daneren2005@gmail.com> | 2014-06-23 15:18:53 -0700 |
commit | ef79946bd96fb809cf95dfb9fab58d619b2e25fe (patch) | |
tree | ebe559d1da7e3390c1849860b5d6a536df33805b /src/github | |
parent | 8dac488f255035f2e8ce6db51adfcdabb365d4db (diff) | |
download | dsub-ef79946bd96fb809cf95dfb9fab58d619b2e25fe.tar.gz dsub-ef79946bd96fb809cf95dfb9fab58d619b2e25fe.tar.bz2 dsub-ef79946bd96fb809cf95dfb9fab58d619b2e25fe.zip |
Going offline needs to seed a null user
Diffstat (limited to 'src/github')
-rw-r--r-- | src/github/daneren2005/dsub/util/UserUtil.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/github/daneren2005/dsub/util/UserUtil.java b/src/github/daneren2005/dsub/util/UserUtil.java index ccda1070..7c83cc91 100644 --- a/src/github/daneren2005/dsub/util/UserUtil.java +++ b/src/github/daneren2005/dsub/util/UserUtil.java @@ -46,6 +46,7 @@ public final class UserUtil { public static void seedCurrentUser(final Context context) {
// Only try to seed if online
if(Util.isOffline(context)) {
+ currentUser = null;
return;
}
|