summaryrefslogtreecommitdiff
path: root/app/Console
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-10-12 14:44:28 -0400
committerFrederic Guillot <fred@kanboard.net>2015-10-12 14:44:28 -0400
commite515f37435db6cf883215f13f02391d8b2107d47 (patch)
tree3df01bc0c420a2c497302c5a38aa9d724b2e764c /app/Console
parente57386a18393e85f073cccff70699ad9afc19119 (diff)
Add user CSV import
Diffstat (limited to 'app/Console')
-rw-r--r--app/Console/ProjectDailyColumnStatsExport.php4
-rw-r--r--app/Console/SubtaskExport.php4
-rw-r--r--app/Console/TaskExport.php4
-rw-r--r--app/Console/TransitionExport.php4
4 files changed, 8 insertions, 8 deletions
diff --git a/app/Console/ProjectDailyColumnStatsExport.php b/app/Console/ProjectDailyColumnStatsExport.php
index b9830662..4db33b6a 100644
--- a/app/Console/ProjectDailyColumnStatsExport.php
+++ b/app/Console/ProjectDailyColumnStatsExport.php
@@ -2,7 +2,7 @@
namespace Console;
-use Core\Tool;
+use Core\Csv;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
@@ -28,7 +28,7 @@ class ProjectDailyColumnStatsExport extends Base
);
if (is_array($data)) {
- Tool::csv($data);
+ Csv::output($data);
}
}
}
diff --git a/app/Console/SubtaskExport.php b/app/Console/SubtaskExport.php
index 167a9225..9816574b 100644
--- a/app/Console/SubtaskExport.php
+++ b/app/Console/SubtaskExport.php
@@ -2,7 +2,7 @@
namespace Console;
-use Core\Tool;
+use Core\Csv;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
@@ -28,7 +28,7 @@ class SubtaskExport extends Base
);
if (is_array($data)) {
- Tool::csv($data);
+ Csv::output($data);
}
}
}
diff --git a/app/Console/TaskExport.php b/app/Console/TaskExport.php
index 2ecd45e5..862c1b0d 100644
--- a/app/Console/TaskExport.php
+++ b/app/Console/TaskExport.php
@@ -2,7 +2,7 @@
namespace Console;
-use Core\Tool;
+use Core\Csv;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
@@ -28,7 +28,7 @@ class TaskExport extends Base
);
if (is_array($data)) {
- Tool::csv($data);
+ Csv::output($data);
}
}
}
diff --git a/app/Console/TransitionExport.php b/app/Console/TransitionExport.php
index ad988c54..27d8de64 100644
--- a/app/Console/TransitionExport.php
+++ b/app/Console/TransitionExport.php
@@ -2,7 +2,7 @@
namespace Console;
-use Core\Tool;
+use Core\Csv;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
@@ -28,7 +28,7 @@ class TransitionExport extends Base
);
if (is_array($data)) {
- Tool::csv($data);
+ Csv::output($data);
}
}
}