diff options
author | Björn Schießle <schiessle@owncloud.com> | 2013-07-03 14:21:51 +0200 |
---|---|---|
committer | Björn Schießle <schiessle@owncloud.com> | 2013-07-04 10:11:16 +0200 |
commit | 3c691c9ec9b659897f4dda3769da7049c1ed23a9 (patch) | |
tree | 0f82fb63950245a312b0848b6200db81073f74a3 /core/templates/layout.base.php | |
parent | d46e62886a2b22a4c80df8cca09fb6f354d48614 (diff) | |
download | nextcloud-server-3c691c9ec9b659897f4dda3769da7049c1ed23a9.tar.gz nextcloud-server-3c691c9ec9b659897f4dda3769da7049c1ed23a9.zip |
move to non-static OC_Defaults
Conflicts:
lib/mail.php
Diffstat (limited to 'core/templates/layout.base.php')
-rw-r--r-- | core/templates/layout.base.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/templates/layout.base.php b/core/templates/layout.base.php index 51bac790741..09e1006d507 100644 --- a/core/templates/layout.base.php +++ b/core/templates/layout.base.php @@ -6,11 +6,11 @@ <!--[if gt IE 9]><html class="ng-csp ie"><![endif]--> <!--[if !IE]><!--><html class="ng-csp"><!--<![endif]--> - <?php OC_Defaults::init(); // initialize themable default strings and urls ?> + <?php $defaults = new OC_Defaults(); // initialize themable default strings and urls ?> <head> <title> - <?php p(OC_Defaults::getName()); ?> + <?php p($defaults->getName()); ?> </title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="shortcut icon" href="<?php print_unescaped(image_path('', 'favicon.png')); ?>" /> |