mirror of
https://github.com/andres-montanez/Magallanes
synced 2024-05-23 16:12:11 +02:00
Make all Magento tasks to gues where they should run (local or remote).
This commit is contained in:
parent
974304e707
commit
fdc9f4e12e
|
@ -37,7 +37,7 @@ class ClearCacheTask extends AbstractTask
|
|||
public function run()
|
||||
{
|
||||
$command = 'rm -rf var/cache/*';
|
||||
$result = $this->runCommandLocal($command);
|
||||
$result = $this->runCommand($command);
|
||||
|
||||
return $result;
|
||||
}
|
||||
|
|
|
@ -37,7 +37,7 @@ class ClearFullPageCacheTask extends AbstractTask
|
|||
public function run()
|
||||
{
|
||||
$command = 'rm -rf var/full_page_cache/*';
|
||||
$result = $this->runCommandLocal($command);
|
||||
$result = $this->runCommand($command);
|
||||
|
||||
return $result;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue