From: Thomas Müller Date: Mon, 7 Oct 2013 09:49:43 +0000 (+0200) Subject: move call to print_unescaped() to template X-Git-Tag: v6.0.0alpha2~72^2~1 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=131d82e41e2fee1d296687bdbba3c9ad50e979a6;p=nextcloud-server.git move call to print_unescaped() to template --- diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php index 2fccfd1f719..fcca43624fe 100644 --- a/core/templates/layout.user.php +++ b/core/templates/layout.user.php @@ -64,7 +64,7 @@
  • - > + > t('Log out'));?> diff --git a/lib/private/user.php b/lib/private/user.php index f7661f8d83e..0284e8044f6 100644 --- a/lib/private/user.php +++ b/lib/private/user.php @@ -327,7 +327,7 @@ class OC_User { } } - return print_unescaped("href=".link_to('', 'index.php'))."?logout=true"; + return "href=" . link_to('', 'index.php') . "?logout=true"; } /**