summaryrefslogtreecommitdiff
path: root/app/Core/Tool.php
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/Core/Tool.php
parente57386a18393e85f073cccff70699ad9afc19119 (diff)
Add user CSV import
Diffstat (limited to 'app/Core/Tool.php')
-rw-r--r--app/Core/Tool.php21
1 files changed, 0 insertions, 21 deletions
diff --git a/app/Core/Tool.php b/app/Core/Tool.php
index 887c8fb3..39e42b83 100644
--- a/app/Core/Tool.php
+++ b/app/Core/Tool.php
@@ -13,27 +13,6 @@ use Pimple\Container;
class Tool
{
/**
- * Write a CSV file
- *
- * @static
- * @access public
- * @param array $rows Array of rows
- * @param string $filename Output filename
- */
- public static function csv(array $rows, $filename = 'php://output')
- {
- $fp = fopen($filename, 'w');
-
- if (is_resource($fp)) {
- foreach ($rows as $fields) {
- fputcsv($fp, $fields);
- }
-
- fclose($fp);
- }
- }
-
- /**
* Get the mailbox hash from an email address
*
* @static