summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2019-03-13 20:25:22 +0100
committerJulius Härtl <jus@bitgrid.net>2019-03-19 13:06:55 +0100
commit403b673b93b98b7158838c232581ad221aeccd09 (patch)
treea1ae79fa9ab7d91bf6fb6acc14da81a5b36aef8f /core
parentff6f105ea6a37107e7c6e12bcace010490c93c58 (diff)
downloadnextcloud-server-403b673b93b98b7158838c232581ad221aeccd09.tar.gz
nextcloud-server-403b673b93b98b7158838c232581ad221aeccd09.zip
Replace the icon-class with an absolute link to an image
Otherwise the icon can not be displayed in mobile apps Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'core')
-rw-r--r--core/Controller/CollaborationResourcesController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Controller/CollaborationResourcesController.php b/core/Controller/CollaborationResourcesController.php
index 4278334c2b9..3699746f735 100644
--- a/core/Controller/CollaborationResourcesController.php
+++ b/core/Controller/CollaborationResourcesController.php
@@ -245,7 +245,7 @@ class CollaborationResourcesController extends OCSController {
'type' => $resource->getType(),
'id' => $resource->getId(),
'name' => $resource->getName(),
- 'iconClass' => $resource->getIconClass(),
+ 'iconLink' => $resource->getIconLink(),
'link' => $resource->getLink(),
];
}