File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed
administrator/components/com_patchtester/PatchTester/Model Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -629,8 +629,7 @@ private function applyWithGitHub(int $id): bool
629
629
{
630
630
// We only create a backup if the file already exists
631
631
if ($ file ->action === 'deleted '
632
- || (file_exists (JPATH_ROOT . '/ ' . $ file ->filename )
633
- && $ file ->action === 'modified ' )
632
+ || (file_exists (JPATH_ROOT . '/ ' . $ file ->filename ) && $ file ->action === 'modified ' )
634
633
|| (file_exists (JPATH_ROOT . '/ ' . $ file ->originalFile ) && $ file ->action === 'renamed ' ))
635
634
{
636
635
$ filename = $ file ->action === 'renamed ' ? $ file ->originalFile : $ file ->filename ;
Original file line number Diff line number Diff line change @@ -474,7 +474,6 @@ public function requestFromGithub($page)
474
474
];
475
475
476
476
$ data [] = implode (', ' , $ pullData );
477
-
478
477
}
479
478
480
479
// If there are no pulls to insert then bail, assume we're finished
You can’t perform that action at this time.
0 commit comments