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
629629 {
630630 // We only create a backup if the file already exists
631631 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 ' )
634633 || (file_exists (JPATH_ROOT . '/ ' . $ file ->originalFile ) && $ file ->action === 'renamed ' ))
635634 {
636635 $ 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)
474474 ];
475475
476476 $ data [] = implode (', ' , $ pullData );
477-
478477 }
479478
480479 // 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