From: Diogo Cordeiro Date: Thu, 18 Apr 2019 00:03:09 +0000 (+0100) Subject: [StoreRemoteMedia] script removeRemoteMedia.php was trying to remove already removed... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2d20656e220359e224cc0a7ef255cf0e02a1bc8f;p=quix0rs-gnu-social.git [StoreRemoteMedia] script removeRemoteMedia.php was trying to remove already removed files Sometimes different posts are associated with the same file, that case wasn't considered Thanks to XRevan86 for spotting this issue. --- diff --git a/plugins/StoreRemoteMedia/scripts/removeRemoteMedia.php b/plugins/StoreRemoteMedia/scripts/removeRemoteMedia.php index b3b43018a9..2a5bdebd46 100755 --- a/plugins/StoreRemoteMedia/scripts/removeRemoteMedia.php +++ b/plugins/StoreRemoteMedia/scripts/removeRemoteMedia.php @@ -30,7 +30,7 @@ define('INSTALLDIR', realpath(__DIR__ . '/../../..')); $shortoptions = 'l::a::i'; -$longoptions = ['limit=','all','image']; +$longoptions = ['limit=', 'all', 'image']; $helptext = <<