summaryrefslogtreecommitdiffstats
path: root/lib/template.php
diff options
context:
space:
mode:
authorFelix Moeller <mail@felixmoeller.de>2012-10-22 21:40:33 +0200
committerFelix Moeller <mail@felixmoeller.de>2012-10-22 21:40:33 +0200
commit03581ef463184081f8faa3f86bb6d21ee8bbc66d (patch)
treef199ec40d897775a8dfcb1d1ace150de88ae51f3 /lib/template.php
parent37296b8b6dd7a1b96c3e4fa326995bf3747ac116 (diff)
downloadnextcloud-server-03581ef463184081f8faa3f86bb6d21ee8bbc66d.tar.gz
nextcloud-server-03581ef463184081f8faa3f86bb6d21ee8bbc66d.zip
Correct a first issue Checkstyle is complaining about ...
This is BracketsNotRequired
Diffstat (limited to 'lib/template.php')
-rw-r--r--lib/template.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/template.php b/lib/template.php
index 1c529932a30..972d75807c7 100644
--- a/lib/template.php
+++ b/lib/template.php
@@ -405,7 +405,7 @@ class OC_Template{
// Execute the template
ob_start();
- include( $this->template ); // <-- we have to use include because we pass $_!
+ include $this->template; // <-- we have to use include because we pass $_!
$data = ob_get_contents();
@ob_end_clean();
@@ -430,7 +430,7 @@ class OC_Template{
// Include
ob_start();
- include( $this->path.$file.'.php' );
+ include $this->path.$file.'.php';
$data = ob_get_contents();
@ob_end_clean();