Codestyle fixes

Signed-off-by: Roland Dalmulder <contact@rolandd.com>
This commit is contained in:
Roland Dalmulder 2022-01-28 20:31:46 +01:00
parent 533a602b40
commit ec181cb72c
No known key found for this signature in database
GPG Key ID: 6D30CD38749A5B9E
2 changed files with 1 additions and 3 deletions

View File

@ -629,8 +629,7 @@ class PullModel extends AbstractModel
{
// We only create a backup if the file already exists
if ($file->action === 'deleted'
|| (file_exists(JPATH_ROOT . '/' . $file->filename)
&& $file->action === 'modified')
|| (file_exists(JPATH_ROOT . '/' . $file->filename) && $file->action === 'modified')
|| (file_exists(JPATH_ROOT . '/' . $file->originalFile) && $file->action === 'renamed'))
{
$filename = $file->action === 'renamed' ? $file->originalFile : $file->filename;

View File

@ -474,7 +474,6 @@ class PullsModel extends ListModel
];
$data[] = implode(',', $pullData);
}
// If there are no pulls to insert then bail, assume we're finished