From b8c84479712f021735466d9882bf8ebbf1c558e4 Mon Sep 17 00:00:00 2001 From: Connor Behan Date: Thu, 18 Apr 2013 01:40:06 -0700 Subject: Remove ALPM_QUESTION_LOCAL_NEWER Remove a question that hasn't been used since the 3.0 days. To prevent us from having an ugly enum of questions that is missing a bitmask, this changes the API of the hidden --ask option. Signed-off-by: Connor Behan Signed-off-by: Allan McRae --- src/pacman/callback.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src') diff --git a/src/pacman/callback.c b/src/pacman/callback.c index 16d66df7..a743adc3 100644 --- a/src/pacman/callback.c +++ b/src/pacman/callback.c @@ -382,15 +382,6 @@ void cb_question(alpm_question_t event, void *data1, void *data2, *response = select_question(count); } break; - case ALPM_QUESTION_LOCAL_NEWER: - if(!config->op_s_downloadonly) { - *response = yesno(_("%s-%s: local version is newer. Upgrade anyway?"), - alpm_pkg_get_name(data1), - alpm_pkg_get_version(data1)); - } else { - *response = 1; - } - break; case ALPM_QUESTION_CORRUPTED_PKG: *response = yesno(_("File %s is corrupted (%s).\n" "Do you want to delete it?"), -- cgit v1.2.3-24-g4f1b