Conversation:
Notices
-
MMN-o ✅⃠ (mmn)'s status on Saturday, 20-Feb-2016 19:53:20 EST
MMN-o ✅⃠
@maiyannah I'm going to rest my brain tomorrow (I usually can't code for a day after working), but I'll try to get the delete-file-when-last-notice-that-attached-it-is-gone fix in the coming week. -
MMN-o ✅⃠ (mmn)'s status on Saturday, 20-Feb-2016 19:32:07 EST
MMN-o ✅⃠
@maiyannah https://git.gnu.io/gnu/gnu-social/blob/nightly/scripts/delete_orphan_files.php
To avoid nuking qvitter files, you'd have to see if they're linked in the Profile_prefs table (or more hackily, you could just skip the file if its filename doesn't match the pattern "[sha256 hash sum].extension" (!qvitter uploads are done a bit differently so they don't get hashed) -
MMN-o ✅⃠ (mmn)'s status on Saturday, 20-Feb-2016 19:53:41 EST
MMN-o ✅⃠
@maiyannah Feel free to remind me in a couple of days :P
-