Minimize DB access in ag_account_list_enabled_services()
authorAlberto Mardegan <alberto.mardegan@nokia.com>
Wed, 6 Oct 2010 06:57:51 +0000 (09:57 +0300)
committerAlberto Mardegan <alberto.mardegan@nokia.com>
Wed, 6 Oct 2010 07:00:43 +0000 (10:00 +0300)
commit7fa3a19c8ae4f3da436111e6f22b932bf444deb6
treec9d7a697968a7b574820189e2bb2a1183c9cb6d6
parent11e7471540db19742ecf44519f33da19d29b79a1
Minimize DB access in ag_account_list_enabled_services()

If the account has been created from another instance, we have all the service
settings already in memory: there's no need to query the DB to get them.
libaccounts-glib/ag-account.c