diff options
author | Felix Moeller <mail@felixmoeller.de> | 2012-11-02 19:53:02 +0100 |
---|---|---|
committer | Felix Moeller <mail@felixmoeller.de> | 2012-11-02 19:53:02 +0100 |
commit | afadf93d317e27fd848f1e70d5849169f862aed9 (patch) | |
tree | 4a9ed633a7735a1be3cf33fdad31ab981fd64a6b /lib/installer.php | |
parent | d9e97610999ddf9f3a060b786f22d0abb054521e (diff) | |
download | nextcloud-server-afadf93d317e27fd848f1e70d5849169f862aed9.tar.gz nextcloud-server-afadf93d317e27fd848f1e70d5849169f862aed9.zip |
Checkstyle: many fixes
Diffstat (limited to 'lib/installer.php')
-rw-r--r-- | lib/installer.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/installer.php b/lib/installer.php index 8c504fb6129..0c776d47d5a 100644 --- a/lib/installer.php +++ b/lib/installer.php @@ -68,7 +68,7 @@ class OC_Installer{ OC_Log::write('core','No href specified when installing app from http',OC_Log::ERROR); return false; } - copy($data['href'],$path); + copy($data['href'], $path); }else{ if(!isset($data['path'])) { OC_Log::write('core','No path specified when installing app from local file',OC_Log::ERROR); @@ -80,10 +80,10 @@ class OC_Installer{ //detect the archive type $mime=OC_Helper::getMimeType($path); if($mime=='application/zip') { - rename($path,$path.'.zip'); + rename($path, $path.'.zip'); $path.='.zip'; }elseif($mime=='application/x-gzip') { - rename($path,$path.'.tgz'); + rename($path, $path.'.tgz'); $path.='.tgz'; }else{ OC_Log::write('core','Archives of type '.$mime.' are not supported',OC_Log::ERROR); @@ -344,7 +344,7 @@ class OC_Installer{ * @param string $folder the folder of the app to check * @returns true for app is o.k. and false for app is not o.k. */ - public static function checkCode($appname,$folder) { + public static function checkCode($appname, $folder) { $blacklist=array( 'exec(', |