mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 20:33:53 +01:00
Logout thing
This commit is contained in:
parent
cce8c27a66
commit
aec4300a2e
4 changed files with 16 additions and 2 deletions
|
|
@ -255,8 +255,7 @@ public class CommonsApplication extends Application {
|
|||
currentAccount = null;
|
||||
}
|
||||
|
||||
public void updateAllDatabases(Context context)
|
||||
{
|
||||
public void updateAllDatabases(Context context) {
|
||||
DBOpenHelper dbOpenHelper = DBOpenHelper.getInstance(context);
|
||||
dbOpenHelper.getReadableDatabase().close();
|
||||
SQLiteDatabase db = dbOpenHelper.getWritableDatabase();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue