remove the MigrateNewsFilters() call. we don't have to migrate news filters.

(but they don't work yet, but that's another bug.)  r=bienvenu
This commit is contained in:
sspitzer%netscape.com 2000-04-02 23:07:14 +00:00
Родитель 9f88f0ed6f
Коммит bd2c270c73
2 изменённых файлов: 0 добавлений и 13 удалений

Просмотреть файл

@ -2190,10 +2190,6 @@ nsMessengerMigrator::MigrateNewsAccount(nsIMsgIdentity *identity, const char *ho
newsDir->CreateDir();
}
// migrate the filter files
rv = MigrateNewsFilters(server);
if (NS_FAILED(rv)) return rv;
return NS_OK;
}
@ -2230,14 +2226,6 @@ nsMessengerMigrator::MigrateOldNntpPrefs(nsIMsgIncomingServer *server, const cha
#define MIGRATE_FILTERS 1
#endif
nsresult nsMessengerMigrator::MigrateNewsFilters(nsIMsgIncomingServer *aServer)
{
#ifdef DEBUG
printf("news filter files aren't migrated, because we don't support hostinfo.dat files yet. I'm working on it.\n");
#endif
return NS_OK;
}
nsresult nsMessengerMigrator::MigrateFilters(nsIMsgIncomingServer *aServer)
{
#ifdef MIGRATE_FILTERS

Просмотреть файл

@ -121,7 +121,6 @@ private:
nsresult SetSendLaterUriPref(nsIMsgIncomingServer *server);
nsresult MigrateFilters(nsIMsgIncomingServer *server);
nsresult MigrateNewsFilters(nsIMsgIncomingServer *server);
nsresult getPrefService();