Skip to content

Commit

Permalink
reverted last commit - the bug was not deleting the file
Browse files Browse the repository at this point in the history
  • Loading branch information
xrowdominik committed Aug 8, 2018
1 parent 40943e9 commit 6db7e4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/xrowmedia.php
Expand Up @@ -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
{
Expand Down

0 comments on commit 6db7e4a

Please sign in to comment.