File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -63,9 +63,6 @@ public function run($assets, $values)
6363 $ existingDescriptor = $ sourceLastModified >= $ destinationLastModified
6464 ? __ ('statamic::messages.asset_conflict_an_older ' )
6565 : __ ('statamic::messages.asset_conflict_a_newer ' );
66- $ existingAge = $ sourceLastModified >= $ destinationLastModified
67- ? __ ('statamic::messages.asset_conflict_older ' )
68- : __ ('statamic::messages.asset_conflict_newer ' );
6966
7067 if ($ strategy === 'overwrite ' ) {
7168 $ assetForGlideCacheClear = $ existingAsset ?? $ asset ->container ()->makeAsset ($ destinationPath );
@@ -98,7 +95,6 @@ public function run($assets, $values)
9895 'filename ' => $ asset ->basename (),
9996 'existing_descriptor ' => $ existingDescriptor ,
10097 'moving_age ' => $ movingAge ,
101- 'existing_age ' => $ existingAge ,
10298 ]),
10399 [
104100 'conflict ' => [
You can’t perform that action at this time.
0 commit comments