31
0
mirror of https://github.com/joomla-extensions/patchtester.git synced 2024-06-01 21:20:48 +00:00

Codestyle fixing

Signed-off-by: Roland Dalmulder <contact@rolandd.com>
This commit is contained in:
Roland Dalmulder 2020-04-03 17:46:07 +02:00
parent e7d1fa7ded
commit f70ea39171
No known key found for this signature in database
GPG Key ID: FD49814C56AE3AF9

View File

@ -605,7 +605,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->action === 'modified')
|| (file_exists(JPATH_ROOT . '/' . $file->originalFile) && $file->action === 'renamed'))
{
$filename = $file->action === 'renamed' ? $file->originalFile : $file->filename;