summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-10-16 22:43:07 -0400
committerFrederic Guillot <fred@kanboard.net>2015-10-16 22:43:07 -0400
commit98b203fe691ec1ea9d6d19e916827185b575b05a (patch)
tree4010ff020ea9a975d192bbe4d00a3d03beb5b01b /app
parent59b614605f15e00aea660c344c04a238e65ba4ab (diff)
Move DateParser class to Core namespace
Diffstat (limited to 'app')
-rw-r--r--app/Core/DateParser.php (renamed from app/Model/DateParser.php)6
-rw-r--r--app/ServiceProvider/ClassProvider.php2
2 files changed, 4 insertions, 4 deletions
diff --git a/app/Model/DateParser.php b/app/Core/DateParser.php
index 8159341d..026cf305 100644
--- a/app/Model/DateParser.php
+++ b/app/Core/DateParser.php
@@ -1,13 +1,13 @@
<?php
-namespace Kanboard\Model;
+namespace Kanboard\Core;
use DateTime;
/**
- * Date parser model
+ * Date Parser
*
- * @package model
+ * @package core
* @author Frederic Guillot
*/
class DateParser extends Base
diff --git a/app/ServiceProvider/ClassProvider.php b/app/ServiceProvider/ClassProvider.php
index 4acebfeb..9df2dede 100644
--- a/app/ServiceProvider/ClassProvider.php
+++ b/app/ServiceProvider/ClassProvider.php
@@ -29,7 +29,6 @@ class ClassProvider implements ServiceProviderInterface
'Config',
'Currency',
'CustomFilter',
- 'DateParser',
'File',
'LastLogin',
'Link',
@@ -79,6 +78,7 @@ class ClassProvider implements ServiceProviderInterface
'ProjectGanttFormatter',
),
'Core' => array(
+ 'DateParser',
'Helper',
'HttpClient',
'Lexer',