From 3c691c9ec9b659897f4dda3769da7049c1ed23a9 Mon Sep 17 00:00:00 2001 From: Björn Schießle Date: Wed, 3 Jul 2013 14:21:51 +0200 Subject: move to non-static OC_Defaults Conflicts: lib/mail.php --- settings/personal.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'settings/personal.php') diff --git a/settings/personal.php b/settings/personal.php index d68de4d570a..2c0b4b9e33f 100644 --- a/settings/personal.php +++ b/settings/personal.php @@ -8,7 +8,7 @@ OC_Util::checkLoggedIn(); OC_App::loadApps(); -OC_Defaults::init(); // initialize themable default strings and urls +$defaults = new OC_Defaults(); // initialize themable default strings and urls // Highlight navigation entry OC_Util::addScript( 'settings', 'personal' ); @@ -62,7 +62,7 @@ usort( $languages, function ($a, $b) { //links to clients $clients = array( - 'desktop' => OC_Config::getValue('customclient_desktop', OC_Defaults::getSyncClientUrl()), + 'desktop' => OC_Config::getValue('customclient_desktop', $defaults->getSyncClientUrl()), 'android' => OC_Config::getValue('customclient_android', 'https://play.google.com/store/apps/details?id=com.owncloud.android'), 'ios' => OC_Config::getValue('customclient_ios', 'https://itunes.apple.com/us/app/owncloud/id543672169?mt=8') ); -- cgit v1.2.3