Small cleanup
This commit is contained in:
parent
c8f9065471
commit
1193d65f57
5 changed files with 7 additions and 18 deletions
|
@ -944,7 +944,7 @@ class kolab_storage
|
||||||
* Wrapper for rcube_imap::list_folders_subscribed()
|
* Wrapper for rcube_imap::list_folders_subscribed()
|
||||||
* with support for temporarily subscribed folders
|
* with support for temporarily subscribed folders
|
||||||
*/
|
*/
|
||||||
protected static function _imap_list_subscribed($root, $mbox, $filter = null)
|
protected static function _imap_list_subscribed($root, $mbox)
|
||||||
{
|
{
|
||||||
$folders = self::$imap->list_folders_subscribed($root, $mbox);
|
$folders = self::$imap->list_folders_subscribed($root, $mbox);
|
||||||
|
|
||||||
|
|
|
@ -325,7 +325,7 @@ class kolab_storage_dav
|
||||||
public function folder_type($folder)
|
public function folder_type($folder)
|
||||||
{
|
{
|
||||||
// TODO: Used by kolab_folders, kolab_activesync, kolab_delegation
|
// TODO: Used by kolab_folders, kolab_activesync, kolab_delegation
|
||||||
return 'event';
|
return '';
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -3,11 +3,9 @@
|
||||||
/**
|
/**
|
||||||
* Kolab storage cache class providing a local caching layer for Kolab groupware objects.
|
* Kolab storage cache class providing a local caching layer for Kolab groupware objects.
|
||||||
*
|
*
|
||||||
* @author Thomas Bruederli <bruederli@kolabsys.com>
|
|
||||||
* @author Aleksander Machniak <machniak@apheleia-it.ch>
|
* @author Aleksander Machniak <machniak@apheleia-it.ch>
|
||||||
*
|
*
|
||||||
* Copyright (C) 2012-2013, Kolab Systems AG <contact@kolabsys.com>
|
* Copyright (C) 2012-2022, Apheleia IT AG <contact@apheleia-it.ch>
|
||||||
* Copyright (C) 2022, Apheleia IT AG <contact@apheleia-it.ch>
|
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* it under the terms of the GNU Affero General Public License as
|
||||||
|
@ -493,14 +491,6 @@ class kolab_storage_dav_cache extends kolab_storage_cache
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Check DAV connection error state
|
|
||||||
*/
|
|
||||||
protected function check_error()
|
|
||||||
{
|
|
||||||
// TODO ?
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Write records into cache using extended inserts to reduce the number of queries to be executed
|
* Write records into cache using extended inserts to reduce the number of queries to be executed
|
||||||
*
|
*
|
||||||
|
|
|
@ -3,9 +3,9 @@
|
||||||
/**
|
/**
|
||||||
* Kolab storage cache class for calendar event objects
|
* Kolab storage cache class for calendar event objects
|
||||||
*
|
*
|
||||||
* @author Thomas Bruederli <bruederli@kolabsys.com>
|
* @author Aleksander Machniak <machniak@apheleia-it.ch>
|
||||||
*
|
*
|
||||||
* Copyright (C) 2013, Kolab Systems AG <contact@kolabsys.com>
|
* Copyright (C) 2013-2022 Apheleia IT AG <contact@apheleia-it.ch>
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* it under the terms of the GNU Affero General Public License as
|
||||||
|
|
|
@ -133,7 +133,7 @@ class kolab_storage_dav_folder extends kolab_storage_folder
|
||||||
return $this->resource_uri;
|
return $this->resource_uri;
|
||||||
}
|
}
|
||||||
|
|
||||||
// compose fully qualified ressource uri for this instance
|
// compose fully qualified resource uri for this instance
|
||||||
$host = preg_replace('|^https?://|', 'dav://' . urlencode($this->get_owner(true)) . '@', $this->dav->url);
|
$host = preg_replace('|^https?://|', 'dav://' . urlencode($this->get_owner(true)) . '@', $this->dav->url);
|
||||||
$path = $this->href[0] == '/' ? $this->href : "/{$this->href}";
|
$path = $this->href[0] == '/' ? $this->href : "/{$this->href}";
|
||||||
|
|
||||||
|
@ -276,8 +276,7 @@ class kolab_storage_dav_folder extends kolab_storage_folder
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: This method is used by kolab_addressbook plugin only
|
// TODO: This method is used by kolab_addressbook plugin only
|
||||||
|
// $this->cache->purge();
|
||||||
$this->cache->purge();
|
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue