summaryrefslogtreecommitdiff
path: root/app/Core
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2017-11-08 14:50:02 -0800
committerFrederic Guillot <fred@kanboard.net>2017-11-08 14:50:02 -0800
commitcafbd1f5a7e60d931e4dbd700b12e5f50319340d (patch)
tree10379ec3d0ced6dbdc1da2b78071added257f101 /app/Core
parent5e98a66aeb108b84ca4f2ae824c0a191fbd514cd (diff)
Improve iCalendar feed to include tasks with start/end date and due date with a time
Diffstat (limited to 'app/Core')
-rw-r--r--app/Core/Filter/QueryBuilder.php12
-rw-r--r--app/Core/Helper.php1
2 files changed, 12 insertions, 1 deletions
diff --git a/app/Core/Filter/QueryBuilder.php b/app/Core/Filter/QueryBuilder.php
index 3de82b63..bdd6b940 100644
--- a/app/Core/Filter/QueryBuilder.php
+++ b/app/Core/Filter/QueryBuilder.php
@@ -21,6 +21,18 @@ class QueryBuilder
protected $query;
/**
+ * Create a new class instance
+ *
+ * @static
+ * @access public
+ * @return static
+ */
+ public static function create()
+ {
+ return new static();
+ }
+
+ /**
* Set the query
*
* @access public
diff --git a/app/Core/Helper.php b/app/Core/Helper.php
index cb9c50f6..5f4772d5 100644
--- a/app/Core/Helper.php
+++ b/app/Core/Helper.php
@@ -19,7 +19,6 @@ use Pimple\Container;
* @property \Kanboard\Helper\FileHelper $file
* @property \Kanboard\Helper\FormHelper $form
* @property \Kanboard\Helper\HookHelper $hook
- * @property \Kanboard\Helper\ICalHelper $ical
* @property \Kanboard\Helper\ModalHelper $modal
* @property \Kanboard\Helper\ModelHelper $model
* @property \Kanboard\Helper\SubtaskHelper $subtask