Adapts the theming util to the new core logo image path
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
This commit is contained in:
parent
065e0c0e49
commit
044ab0cbec
|
@ -161,7 +161,7 @@ class Util {
|
||||||
}
|
}
|
||||||
} catch (NotFoundException $e) {}
|
} catch (NotFoundException $e) {}
|
||||||
}
|
}
|
||||||
return \OC::$SERVERROOT . '/core/img/logo.svg';
|
return \OC::$SERVERROOT . '/core/img/logo/logo.svg';
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -139,7 +139,7 @@ class UtilTest extends TestCase {
|
||||||
public function dataGetAppIcon() {
|
public function dataGetAppIcon() {
|
||||||
return [
|
return [
|
||||||
['user_ldap', \OC_App::getAppPath('user_ldap') . '/img/app.svg'],
|
['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'],
|
['comments', \OC_App::getAppPath('comments') . '/img/comments.svg'],
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue