Make all Magento tasks to gues where they should run (local or remote).

This commit is contained in:
Andrés Montañez 2013-11-07 23:33:19 -02:00
parent 974304e707
commit fdc9f4e12e
2 changed files with 2 additions and 2 deletions

View file

@ -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;
}

View file

@ -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;
}