Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörn Friedrich Dreyer <jfd@butonic.de>2012-10-05 14:39:43 +0400
committerJörn Friedrich Dreyer <jfd@butonic.de>2012-10-05 14:42:11 +0400
commitb5f11195af171edfbbc4fae2e1b7f4832f777f68 (patch)
tree8636223342970f6ca173631885604073e792b025 /lib/archive.php
parent00b34a09eaeba2f74a44a155f0fdd4aa58d5e502 (diff)
fix checkstyle on archive zip/tar
Diffstat (limited to 'lib/archive.php')
-rw-r--r--lib/archive.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/archive.php b/lib/archive.php
index b4459c2b6ce..a9c245eaf43 100644
--- a/lib/archive.php
+++ b/lib/archive.php
@@ -13,14 +13,14 @@ abstract class OC_Archive{
* @return OC_Archive
*/
public static function open($path) {
- $ext=substr($path,strrpos($path,'.'));
+ $ext=substr($path, strrpos($path, '.'));
switch($ext) {
case '.zip':
return new OC_Archive_ZIP($path);
case '.gz':
case '.bz':
case '.bz2':
- if(strpos($path,'.tar.')) {
+ if(strpos($path, '.tar.')) {
return new OC_Archive_TAR($path);
}
break;
@@ -126,9 +126,9 @@ abstract class OC_Archive{
continue;
}
if(is_dir($source.'/'.$file)) {
- $this->addRecursive($path.'/'.$file,$source.'/'.$file);
+ $this->addRecursive($path.'/'.$file, $source.'/'.$file);
}else{
- $this->addFile($path.'/'.$file,$source.'/'.$file);
+ $this->addFile($path.'/'.$file, $source.'/'.$file);
}
}
}