diff options
author | Bart Visscher <bartv@thisnet.nl> | 2013-02-22 00:22:43 +0100 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2013-02-22 00:22:43 +0100 |
commit | bf0b9bac8b10afccb5d98d4272ed1a311ed99042 (patch) | |
tree | 22a635f525bda30188f56f568a26923f723bc461 /lib/template.php | |
parent | 40a5a526841d379da5d554a6f69ad0aef25acb7d (diff) | |
download | nextcloud-server-bf0b9bac8b10afccb5d98d4272ed1a311ed99042.tar.gz nextcloud-server-bf0b9bac8b10afccb5d98d4272ed1a311ed99042.zip |
Remove unneeded code for user layout template
Diffstat (limited to 'lib/template.php')
-rw-r--r-- | lib/template.php | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/template.php b/lib/template.php index 3df5a24f946..e79c0d55c96 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); |