From 49d0268f73c59d570888df4535ab086f8bd46755 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Mon, 22 Mar 2021 16:35:38 +0100 Subject: printing: Remove code to upgrade from before b0909cfa14f I think even back then "printing.tdb" would have just been a stale tdb that would have been better handled externally. It might have been a product requirement back then, but I think a startup script and not core code might have been a better choice to handle this. Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- source3/printing/printing.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'source3/printing/printing.c') diff --git a/source3/printing/printing.c b/source3/printing/printing.c index 403db853559..6c13a5e74fb 100644 --- a/source3/printing/printing.c +++ b/source3/printing/printing.c @@ -74,13 +74,6 @@ bool print_backend_init(struct messaging_context *msg_ctx) return false; } - print_cache_path = cache_path(talloc_tos(), "printing.tdb"); - if (print_cache_path == NULL) { - return false; - } - unlink(print_cache_path); - TALLOC_FREE(print_cache_path); - /* handle a Samba upgrade */ for (snum = 0; snum < services; snum++) { -- cgit v1.2.1