From 2d20656e220359e224cc0a7ef255cf0e02a1bc8f Mon Sep 17 00:00:00 2001 From: Diogo Cordeiro Date: Thu, 18 Apr 2019 01:03:09 +0100 Subject: [PATCH] [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. --- plugins/StoreRemoteMedia/scripts/removeRemoteMedia.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 = <<