Bug 1181313: Remove some unnecessary logging statements for success conditions, in nsPermissionManager.cpp. r=bsmedberg

This commit is contained in:
Daniel Holbert 2015-10-13 17:19:06 -07:00
parent 58473f2ae7
commit 3faeaf2c65

View File

@ -891,7 +891,6 @@ nsPermissionManager::InitDB(bool aRemoveFile)
return NS_ERROR_UNEXPECTED;
}
LogToConsole(NS_LITERAL_STRING("Get a connection to permissions.sqlite."));
bool tableExists = false;
mDBConn->TableExists(NS_LITERAL_CSTRING("moz_perms"), &tableExists);
@ -901,7 +900,6 @@ nsPermissionManager::InitDB(bool aRemoveFile)
if (!tableExists) {
rv = CreateTable();
NS_ENSURE_SUCCESS(rv, rv);
LogToConsole(NS_LITERAL_STRING("DB table(moz_perms) is created!"));
} else {
// table already exists; check the schema version before reading
int32_t dbSchemaVersion;