]> git.mxchange.org Git - quix0rs-gnu-social.git/commit
Delete orphan files maintenance script
authorMikael Nordfeldth <mmn@hethane.se>
Thu, 11 Feb 2016 21:19:56 +0000 (22:19 +0100)
committerMikael Nordfeldth <mmn@hethane.se>
Thu, 11 Feb 2016 21:19:56 +0000 (22:19 +0100)
commit38a187b93ebe1069f105ccd7570b7bb6ab38fc50
tree5f76af0a68fb868b094a9842245e2dd1df2e3c11
parent7fdcbd56d5c4a3d01165c1369a60ec4a1bcc1556
Delete orphan files maintenance script

When deleting a profile it'll delete its notices and the coupling to
file entries, but not the file entries themselves (and thus not the
files). So if one to delete a person uploading offending images, then
the images are left behind and can be hotlinked. This will remove it.
scripts/delete_orphan_files.php [new file with mode: 0755]