aboutsummaryrefslogtreecommitdiffstats
path: root/lib/installer.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/installer.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/installer.php')
-rw-r--r--lib/installer.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/installer.php b/lib/installer.php
index 9135c60fc05..56e474bb3b3 100644
--- a/lib/installer.php
+++ b/lib/installer.php
@@ -187,7 +187,7 @@ class OC_Installer{
//run appinfo/install.php
if((!isset($data['noinstall']) or $data['noinstall']==false) and file_exists($basedir.'/appinfo/install.php')) {
- include($basedir.'/appinfo/install.php');
+ include $basedir.'/appinfo/install.php';
}
//set the installed version
@@ -320,7 +320,7 @@ class OC_Installer{
//run appinfo/install.php
if(is_file(OC_App::getAppPath($app)."/appinfo/install.php")) {
- include(OC_App::getAppPath($app)."/appinfo/install.php");
+ include OC_App::getAppPath($app)."/appinfo/install.php";
}
$info=OC_App::getAppInfo($app);
OC_Appconfig::setValue($app,'installed_version',OC_App::getAppVersion($app));