summaryrefslogtreecommitdiffstats
path: root/lib/template.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2013-02-25 13:41:32 -0800
committerLukas Reschke <lukas@statuscode.ch>2013-02-25 13:41:32 -0800
commit6735701c1e70c7fb742f0343e1c264c0c27aca86 (patch)
treed005eb1f1c4bc2a72e6441be4f42794e5552d2f5 /lib/template.php
parenta2a1e8c2cbb944ee7b49928cfc3f00401a39b0fc (diff)
parentbf0b9bac8b10afccb5d98d4272ed1a311ed99042 (diff)
downloadnextcloud-server-6735701c1e70c7fb742f0343e1c264c0c27aca86.tar.gz
nextcloud-server-6735701c1e70c7fb742f0343e1c264c0c27aca86.zip
Merge pull request #1837 from owncloud/fix-user-template
Remove unneeded code for user layout template
Diffstat (limited to 'lib/template.php')
-rw-r--r--lib/template.php5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/template.php b/lib/template.php
index 0f9efe66496..ce55e58d28d 100644
--- a/lib/template.php
+++ b/lib/template.php
@@ -413,11 +413,6 @@ class OC_Template{
if( $this->renderas ) {
$page = new OC_TemplateLayout($this->renderas);
- if($this->renderas == 'user') {
- $page->assign('requesttoken', $this->vars['requesttoken']);
- $user = OC_User::getUser();
- $page->assign('displayname', OCP\User::getDisplayName($user));
- }
// Add custom headers
$page->assign('headers', $this->headers, false);