diff options
author | Andrew Summers <18727110+summersab@users.noreply.github.com> | 2023-08-29 18:54:23 -0500 |
---|---|---|
committer | Andrew Summers <18727110+summersab@users.noreply.github.com> | 2023-08-29 21:33:17 -0500 |
commit | ce74bdcda244172cbe90dc792e30128802a78828 (patch) | |
tree | 21b797b1af233b8f0c1be8edec57cca8ff141f83 /lib/public | |
parent | 9d1547f59d53b46ba401ddf0e7f4c6e4f067004e (diff) | |
download | nextcloud-server-ce74bdcda244172cbe90dc792e30128802a78828.tar.gz nextcloud-server-ce74bdcda244172cbe90dc792e30128802a78828.zip |
Refactor `OC\Server::getThemingDefaults`
Signed-off-by: Andrew Summers <18727110+summersab@users.noreply.github.com>
Diffstat (limited to 'lib/public')
-rw-r--r-- | lib/public/Defaults.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/public/Defaults.php b/lib/public/Defaults.php index a295db120ad..63568b27294 100644 --- a/lib/public/Defaults.php +++ b/lib/public/Defaults.php @@ -52,7 +52,7 @@ class Defaults { */ public function __construct(\OC_Defaults $defaults = null) { if ($defaults === null) { - $defaults = \OC::$server->getThemingDefaults(); + $defaults = \OC::$server->get('ThemingDefaults'); } $this->defaults = $defaults; } |