summaryrefslogtreecommitdiff
path: root/plugins/tasklist/drivers/kolab/tasklist_kolab_driver.php
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/tasklist/drivers/kolab/tasklist_kolab_driver.php')
-rw-r--r--plugins/tasklist/drivers/kolab/tasklist_kolab_driver.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/tasklist/drivers/kolab/tasklist_kolab_driver.php b/plugins/tasklist/drivers/kolab/tasklist_kolab_driver.php
index edb60e6..99971f0 100644
--- a/plugins/tasklist/drivers/kolab/tasklist_kolab_driver.php
+++ b/plugins/tasklist/drivers/kolab/tasklist_kolab_driver.php
@@ -294,7 +294,7 @@ class tasklist_kolab_driver extends tasklist_driver
$counts = array('all' => 0, 'flagged' => 0, 'today' => 0, 'tomorrow' => 0, 'overdue' => 0, 'nodate' => 0);
foreach ($lists as $list_id) {
$folder = $this->folders[$list_id];
- foreach ((array)$folder->select(array(array('tags','!~','x-complete'))) as $record) {
+ foreach ($folder->select(array(array('tags','!~','x-complete'))) as $record) {
$rec = $this->_to_rcube_task($record);
if ($rec['complete'] >= 1.0) // don't count complete tasks
@@ -358,7 +358,7 @@ class tasklist_kolab_driver extends tasklist_driver
foreach ($lists as $list_id) {
$folder = $this->folders[$list_id];
- foreach ((array)$folder->select($query) as $record) {
+ foreach ($folder->select($query) as $record) {
$task = $this->_to_rcube_task($record);
$task['list'] = $list_id;
@@ -421,7 +421,7 @@ class tasklist_kolab_driver extends tasklist_driver
$query_ids = array();
foreach ($task_ids as $task_id) {
$query = array(array('tags','=','x-parent:' . $task_id));
- foreach ((array)$folder->select($query) as $record) {
+ foreach ($folder->select($query) as $record) {
// don't rely on kolab_storage_folder filtering
if ($record['parent_id'] == $task_id) {
$childs[] = $record['uid'];
@@ -475,7 +475,7 @@ class tasklist_kolab_driver extends tasklist_driver
continue;
$folder = $this->folders[$lid];
- foreach ((array)$folder->select($query) as $record) {
+ foreach ($folder->select($query) as $record) {
if (!$record['alarms']) // don't trust query :-)
continue;