From 6db7e4aa557c2beb03495cc53849ec4be826d1b6 Mon Sep 17 00:00:00 2001 From: xrowdominik Date: Wed, 8 Aug 2018 10:00:21 +0200 Subject: [PATCH] reverted last commit - the bug was not deleting the file --- classes/xrowmedia.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/xrowmedia.php b/classes/xrowmedia.php index 5a394da..b05dd87 100644 --- a/classes/xrowmedia.php +++ b/classes/xrowmedia.php @@ -196,8 +196,8 @@ public function updateMediaInfo() $filePath = $docRoot . DIRECTORY_SEPARATOR . $filePath; $filePath = str_replace( array( "/", "\\" ), array( DIRECTORY_SEPARATOR, DIRECTORY_SEPARATOR ), $filePath ); } - $this->addInfo( $filePath, $binary->attribute( 'mime_type' ) ); + $file->deleteLocal(); } else {