]> _ Git - cubist_cms-back.git/commitdiff
wip #3158
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 22 Oct 2019 09:50:51 +0000 (11:50 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 22 Oct 2019 09:50:51 +0000 (11:50 +0200)
src/app/Console/Commands/LocaleCopy.php

index b7e90e235ba15ee43a824400a5294cac36d53e7f..39ccb9b34980e7793ba736b5db101eaebdcb315b 100644 (file)
@@ -24,8 +24,7 @@ class LocaleCopy extends CubistCommand
 
     public function handle()
     {
-        $from = $this->argument('from');
-        $to = $this->argument('to');
+
 
         $this->call('backup:run');
 
@@ -37,6 +36,8 @@ class LocaleCopy extends CubistCommand
      */
     protected function _copyModel($model)
     {
-        echo 'Copy locale of model ' . $model;
+        $from = $this->argument('from');
+        $to = $this->argument('to');
+        echo 'Copy locale of model ' . $model . ' from ' . $from . ' to ' . $to;
     }
 }