mirror of
https://github.com/Chouchen/Shikiryu_Backup.git
synced 2021-06-30 16:02:14 +02:00
✨ Add backup FROM SFTP to local
This commit is contained in:
16
app/code/backup/IsLocalTrait.php
Normal file
16
app/code/backup/IsLocalTrait.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
namespace Shikiryu\Backup\Backup;
|
||||
|
||||
trait IsLocalTrait
|
||||
{
|
||||
public function isLocal()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
public function isDistant()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user