summaryrefslogtreecommitdiffstats
path: root/lib/private/Collaboration
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Collaboration')
-rw-r--r--lib/private/Collaboration/Resources/Manager.php4
-rw-r--r--lib/private/Collaboration/Resources/Resource.php4
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/private/Collaboration/Resources/Manager.php b/lib/private/Collaboration/Resources/Manager.php
index dc4d2fc0265..d1b84f96283 100644
--- a/lib/private/Collaboration/Resources/Manager.php
+++ b/lib/private/Collaboration/Resources/Manager.php
@@ -309,11 +309,11 @@ class Manager implements IManager {
* @param IResource $resource
* @return string
*/
- public function getIconClass(IResource $resource): string {
+ public function getIconLink(IResource $resource): string {
foreach ($this->getProviders() as $provider) {
if ($provider->getType() === $resource->getType()) {
try {
- return $provider->getIconClass($resource);
+ return $provider->getIconLink($resource);
} catch (ResourceException $e) {
}
}
diff --git a/lib/private/Collaboration/Resources/Resource.php b/lib/private/Collaboration/Resources/Resource.php
index d9c72ca2039..0a3c003b27c 100644
--- a/lib/private/Collaboration/Resources/Resource.php
+++ b/lib/private/Collaboration/Resources/Resource.php
@@ -106,9 +106,9 @@ class Resource implements IResource {
* @return string
* @since 16.0.0
*/
- public function getIconClass(): string {
+ public function getIconLink(): string {
if ($this->iconClass === null) {
- $this->iconClass = $this->manager->getIconClass($this);
+ $this->iconClass = $this->manager->getIconLink($this);
}
return $this->iconClass;