diff options
author | Volker Lendecke <vl@samba.org> | 2021-03-22 16:35:38 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2021-03-24 20:31:30 +0000 |
commit | 49d0268f73c59d570888df4535ab086f8bd46755 (patch) | |
tree | 9f34a6d7a3a8a37aacb0cef7cbc272069d96aada /source3/printing/printing.c | |
parent | 656a3d2e48a5e49680dc12de9fb010ac06229b8a (diff) | |
download | samba-49d0268f73c59d570888df4535ab086f8bd46755.tar.gz |
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 <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/printing/printing.c')
-rw-r--r-- | source3/printing/printing.c | 7 |
1 files changed, 0 insertions, 7 deletions
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++) { |