Browse Source
Adapts the theming util to the new core logo image path
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
pull/10898/head
Michael Weimann
7 years ago
No known key found for this signature in database
GPG Key ID: 34F0524D4DA694A1
2 changed files with
3 additions and
3 deletions
-
apps/theming/lib/Util.php
-
apps/theming/tests/UtilTest.php
|
|
|
@ -161,7 +161,7 @@ class Util { |
|
|
|
} |
|
|
|
} catch (NotFoundException $e) {} |
|
|
|
} |
|
|
|
return \OC::$SERVERROOT . '/core/img/logo.svg'; |
|
|
|
return \OC::$SERVERROOT . '/core/img/logo/logo.svg'; |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
@ -223,7 +223,7 @@ class Util { |
|
|
|
|
|
|
|
/** |
|
|
|
* Check if a custom theme is set in the server configuration |
|
|
|
* |
|
|
|
* |
|
|
|
* @return bool |
|
|
|
*/ |
|
|
|
public function isAlreadyThemed() { |
|
|
|
|
|
|
|
@ -139,7 +139,7 @@ class UtilTest extends TestCase { |
|
|
|
public function dataGetAppIcon() { |
|
|
|
return [ |
|
|
|
['user_ldap', \OC_App::getAppPath('user_ldap') . '/img/app.svg'], |
|
|
|
['noapplikethis', \OC::$SERVERROOT . '/core/img/logo.svg'], |
|
|
|
['noapplikethis', \OC::$SERVERROOT . '/core/img/logo/logo.svg'], |
|
|
|
['comments', \OC_App::getAppPath('comments') . '/img/comments.svg'], |
|
|
|
]; |
|
|
|
} |
|
|
|
|