Revert "Update class.discussionmodel.php" - Undo unread change because it has new security bug; closes #1871

This reverts commit 1ab28953605778e1479ba9e518b10e367319d648.
Add category photo delete button

Conflicts:
	applications/vanilla/views/settings/editcategory.php