upload: change REST path from /ctdl/a/upload/ to /ctdl/p/
[citadel.git] / webcit-ng / server / admin_functions.c
index 61afb48b122e06291aa8a4efe3681112d537fc18..7a585e49e332630ae0da94bb461db790009e8604 100644 (file)
@@ -1,6 +1,6 @@
 // Admin functions
 //
-// Copyright (c) 1996-2022 by the citadel.org team
+// Copyright (c) 1996-2023 by the citadel.org team
 //
 // This program is open source software.  Use, duplication, or
 // disclosure are subject to the GNU General Public License v3.
@@ -120,10 +120,6 @@ void ctdl_a(struct http_transaction *h, struct ctdlsession *c) {
                biff(h, c);
                return;
        }
-       if (!strcasecmp(h->url, "/ctdl/a/upload")) {    // upload files
-               upload_files(h, c);
-               return;
-       }
 
        do_404(h);                                      // unknown
 }