From cafbd1f5a7e60d931e4dbd700b12e5f50319340d Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Wed, 8 Nov 2017 14:50:02 -0800 Subject: Improve iCalendar feed to include tasks with start/end date and due date with a time --- app/Core/Filter/QueryBuilder.php | 12 ++++++++++++ app/Core/Helper.php | 1 - 2 files changed, 12 insertions(+), 1 deletion(-) (limited to 'app/Core') 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 @@ -20,6 +20,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 * 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 -- cgit v1.2.3