diff options
| author | Rasmus Fuhse <fuhse@data-quest.de> | 2022-08-20 19:09:44 +0000 |
|---|---|---|
| committer | David Siegfried <david.siegfried@uni-vechta.de> | 2022-08-20 19:09:44 +0000 |
| commit | 8b7a902269a1a20a6a5ddec387913753d01999ea (patch) | |
| tree | 3ccba1ecb515177a67826e44daee85fad71ad7ff /lib/classes/Icon.class.php | |
| parent | 16c6c03dc7e6af883f758747969077df3dd927da (diff) | |
Resolve "Icons mit Zusätze ersetzen durch Icons ohne Zusätze"
Closes #1463
Merge request studip/studip!913
Diffstat (limited to 'lib/classes/Icon.class.php')
| -rw-r--r-- | lib/classes/Icon.class.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/classes/Icon.class.php b/lib/classes/Icon.class.php index 3070aec..30d3f3a 100644 --- a/lib/classes/Icon.class.php +++ b/lib/classes/Icon.class.php @@ -90,7 +90,7 @@ class Icon * constructor instead. * * @param String $shape Shape of the icon, may contain a mixed definition - * like 'seminar+add' + * like 'seminar' * @param String $role Role of the icon, defaults to Icon::DEFAULT_ROLE * @param Array $attributes Additional attributes like 'title'; * only use semantic ones describing @@ -113,7 +113,7 @@ class Icon * Constructor of the object. * * @param String $shape Shape of the icon, may contain a mixed definition - * like 'seminar+add' + * like 'seminar' * @param String $role Role of the icon, defaults to Icon::DEFAULT_ROLE * @param Array $attributes Additional attributes like 'title'; * only use semantic ones describing @@ -380,7 +380,7 @@ class Icon return mb_strpos($shape, 'http') === 0; } - // transforms a shape w/ possible additions (`shape+addition`) to a path `(addition/)?shape` + // transforms a shape w/ possible additions (`shape`) to a path `(addition/)?shape` private function shapeToPath() { return self::isStatic($this->shape) |
