Closed hugovk closed 2 weeks ago
These functions are almost identical:
upload_files_to_server(db)
upload_docs_to_the_docs_server(db)
Let's rename the first so they're both specific:
upload_files_to_downloads_server(db)
And then move the duplicate code into a new general upload_files_to_server(db, server).
upload_files_to_server(db, server)
These functions are almost identical:
upload_files_to_server(db)
upload_docs_to_the_docs_server(db)
Let's rename the first so they're both specific:
upload_files_to_server(db)
->upload_files_to_downloads_server(db)
upload_docs_to_the_docs_server(db)
And then move the duplicate code into a new general
upload_files_to_server(db, server)
.