summaryrefslogtreecommitdiffstats
path: root/settings/personal.php
diff options
context:
space:
mode:
authorBjörn Schießle <schiessle@owncloud.com>2013-07-03 14:21:51 +0200
committerBjörn Schießle <schiessle@owncloud.com>2013-07-04 10:11:16 +0200
commit3c691c9ec9b659897f4dda3769da7049c1ed23a9 (patch)
tree0f82fb63950245a312b0848b6200db81073f74a3 /settings/personal.php
parentd46e62886a2b22a4c80df8cca09fb6f354d48614 (diff)
downloadnextcloud-server-3c691c9ec9b659897f4dda3769da7049c1ed23a9.tar.gz
nextcloud-server-3c691c9ec9b659897f4dda3769da7049c1ed23a9.zip
move to non-static OC_Defaults
Conflicts: lib/mail.php
Diffstat (limited to 'settings/personal.php')
-rw-r--r--settings/personal.php4
1 files changed, 2 insertions, 2 deletions
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')
);