зеркало из https://github.com/mozilla/pjs.git
change for anonymous mode
This commit is contained in:
Родитель
9c7abafa29
Коммит
dfca578ab2
|
@ -18,6 +18,7 @@
|
|||
|
||||
/*
|
||||
*/
|
||||
#include "privacy.h"
|
||||
#include "glhist.h"
|
||||
#include "xp_hash.h"
|
||||
#include "net.h"
|
||||
|
@ -207,6 +208,10 @@ gh_open_database(void)
|
|||
#ifndef NO_DBM
|
||||
static Bool have_tried_open=FALSE;
|
||||
|
||||
if (PRVCY_IsAnonymous()) {
|
||||
return;
|
||||
}
|
||||
|
||||
if(gh_database)
|
||||
{
|
||||
return;
|
||||
|
|
Загрузка…
Ссылка в новой задаче