From: Art Cancro Date: Wed, 13 Apr 2016 15:05:08 +0000 (-0400) Subject: Revert "quickie function guess_image_content_type() to guess the content-type of... X-Git-Tag: Release_902~44 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=7b3fab89fd3bf8487596ec6d3ca2194ceb0fed28 Revert "quickie function guess_image_content_type() to guess the content-type of an uploaded or imported photo based on the filename. We could eventually go with some sort of big global system for this but I wanted it to be fast and reliable for now." This reverts commit 5282ce6d536fef379e55bb0c3bf2ee4ef3b5f6e6. --- diff --git a/citadel/modules/image/serv_image.c b/citadel/modules/image/serv_image.c index af2ddbd51..2c7647f3f 100644 --- a/citadel/modules/image/serv_image.c +++ b/citadel/modules/image/serv_image.c @@ -98,6 +98,7 @@ void cmd_ului(char *cmdbuf) } // Check to make sure the user exists + // FIXME do this struct ctdluser usbuf; if (CtdlGetUser(&usbuf, username) != 0) { // check for existing user, don't lock it yet cprintf("%d %s not found.\n", ERROR + NO_SUCH_USER , username);