[Pkg-owncloud-commits] [php-sabredav] 04/17: Adding icons for resourcetypes that had none.

David Prévot taffit at moszumanska.debian.org
Thu Dec 11 15:10:56 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository php-sabredav.

commit e511464c2f1916433d16618eb641904b3ff226c0
Author: Evert Pot <me at evertpot.com>
Date:   Tue Dec 2 17:36:10 2014 -0500

    Adding icons for resourcetypes that had none.
    
    Fixes #579
---
 ChangeLog.md               | 3 +++
 lib/DAV/Browser/Plugin.php | 2 ++
 2 files changed, 5 insertions(+)

diff --git a/ChangeLog.md b/ChangeLog.md
index 64b1739..52056ed 100644
--- a/ChangeLog.md
+++ b/ChangeLog.md
@@ -9,6 +9,9 @@ ChangeLog
   migration.
 * #567: Doing freebusy requests on accounts that had 0 calendars would throw
   a `E_NOTICE`.
+* #579: Browser plugin can throw exception for a few resourcetypes that didn't
+  have an icon defined.
+
 
 2.1.1 (2014-11-22)
 ------------------
diff --git a/lib/DAV/Browser/Plugin.php b/lib/DAV/Browser/Plugin.php
index d488a01..277e2b9 100644
--- a/lib/DAV/Browser/Plugin.php
+++ b/lib/DAV/Browser/Plugin.php
@@ -508,9 +508,11 @@ HTML;
             ],
             '{http://calendarserver.org/ns/}shared-owner' => [
                 'string' => 'Shared',
+                'icon'   => 'calendar',
             ],
             '{http://calendarserver.org/ns/}subscribed' => [
                 'string' => 'Subscription',
+                'icon'   => 'calendar',
             ],
             '{urn:ietf:params:xml:ns:carddav}directory' => [
                 'string' => 'Directory',

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/php-sabredav.git



More information about the Pkg-owncloud-commits mailing list