Skip to content

Commit

Permalink
Fix finding transferred folder in integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Vincent Petry committed Nov 14, 2016
1 parent 2d77366 commit 150f8c2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ private function findLastTransferFolderForUser($sourceUser, $targetUser) {
if (isset($parts[2]) && $parts[2] === $sourceUser) {
// store timestamp as key
$foundPaths[] = [
'date' => strtotime(dirname($parts[4])),
'date' => strtotime(trim($parts[4], '/')),
'path' => $path,
];
}
Expand Down

0 comments on commit 150f8c2

Please sign in to comment.