This is the backend half of uploading an image as a header for Phame Blogs. Allows you to upload image, or delete it. Ref T10901
- Maniphest Tasks
- T10901: Support title art for Phame blogs
- rP0d4902a0e5d9: Add ability to set a header image per Phame blog
Go to Manage Blog, visit Edit Header Image, Upload snarky file. See snarky file on Manage page. Edit Header Image, click delete, save, see file goes away.
Nice! Couple of nits inline but nothing substantive.
You should be able to get rid of this method, this should be the default behavior.
This should become a transaction at some point, PhabricatorProjectTransaction::TYPE_IMAGE starting in PhabricatorProjectEditPictureController is an example, I think.
But I may modularize all of these under T9789 while doing the custom domain stuff anyway, and swapping this for a transaction is easy to do in a followup.