From 1a8c792e8fb8ec2098553112bf02a97fdc96e06e Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Tue, 29 Mar 2011 02:20:54 -0500 Subject: Fix an outdated comment Signed-off-by: Dan McGee --- lib/libalpm/db.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'lib/libalpm/db.c') diff --git a/lib/libalpm/db.c b/lib/libalpm/db.c index bf6df06e..d9ed331e 100644 --- a/lib/libalpm/db.c +++ b/lib/libalpm/db.c @@ -90,10 +90,7 @@ int SYMEXPORT alpm_db_unregister_all(void) /* Do not unregister a database if a transaction is on-going */ ASSERT(handle->trans == NULL, RET_ERR(PM_ERR_TRANS_NOT_NULL, -1)); - /* since the local DB is registered in alpm_initialize(), we'll be - * symmetrical and let the cleanup occur in alpm_release() */ - - /* and also sync ones */ + /* unregister all sync dbs */ for(i = handle->dbs_sync; i; i = i->next) { db = i->data; db->ops->unregister(db); -- cgit v1.2.3-24-g4f1b