mirror of
https://github.com/joomla-extensions/patchtester.git
synced 2024-12-22 19:09:00 +00:00
Codestyle fixing
Signed-off-by: Roland Dalmulder <contact@rolandd.com>
This commit is contained in:
parent
e7d1fa7ded
commit
f70ea39171
@ -605,7 +605,7 @@ class PullModel extends AbstractModel
|
|||||||
// We only create a backup if the file already exists
|
// We only create a backup if the file already exists
|
||||||
if ($file->action === 'deleted'
|
if ($file->action === 'deleted'
|
||||||
|| (file_exists(JPATH_ROOT . '/' . $file->filename)
|
|| (file_exists(JPATH_ROOT . '/' . $file->filename)
|
||||||
&& $file->action === 'modified')
|
&& $file->action === 'modified')
|
||||||
|| (file_exists(JPATH_ROOT . '/' . $file->originalFile) && $file->action === 'renamed'))
|
|| (file_exists(JPATH_ROOT . '/' . $file->originalFile) && $file->action === 'renamed'))
|
||||||
{
|
{
|
||||||
$filename = $file->action === 'renamed' ? $file->originalFile : $file->filename;
|
$filename = $file->action === 'renamed' ? $file->originalFile : $file->filename;
|
||||||
|
Loading…
Reference in New Issue
Block a user