]> source.dussan.org Git - nextcloud-server.git/commitdiff
style fixes for public files api
authorGeorg Ehrke <dev@georgswebsite.de>
Sat, 8 Sep 2012 14:02:11 +0000 (16:02 +0200)
committerGeorg Ehrke <dev@georgswebsite.de>
Sat, 8 Sep 2012 14:02:11 +0000 (16:02 +0200)
lib/public/files.php

index 2f4f459bd91c788c60f541924cc5e4b1fd50de2c..90889c59ad851a47a07812e9f8ef87ce8f82584f 100644 (file)
@@ -34,8 +34,6 @@ namespace OCP;
  * This class provides access to the internal filesystem abstraction layer. Use this class exlusively if you want to access files
  */
 class Files {
-
-
        /**
         * @brief Recusive deletion of folders
         * @param string $dir path to the folder
@@ -45,7 +43,6 @@ class Files {
                \OC_Helper::rmdirr( $dir );
        }
 
-
        /**
         * get the mimetype form a local file
         * @param string path
@@ -56,7 +53,6 @@ class Files {
                return(\OC_Helper::getMimeType( $path ));
        }
 
-
        /**
         * copy the contents of one stream to another
         * @param resource source
@@ -67,7 +63,6 @@ class Files {
                return(\OC_Helper::streamCopy( $source, $target ));
        }
 
-
        /**
         * create a temporary file with an unique filename
         * @param string postfix
@@ -79,7 +74,6 @@ class Files {
                return(\OC_Helper::tmpFile( $postfix ));
        }
 
-
        /**
         * create a temporary folder with an unique filename
         * @return string
@@ -90,7 +84,6 @@ class Files {
                return(\OC_Helper::tmpFolder());
        }
 
-
        /**
         * Adds a suffix to the name in case the file exists
         *
@@ -102,16 +95,12 @@ class Files {
                return(\OC_Helper::buildNotExistingFileName( $path, $filename ));
        }
 
-        /**
-         * @param string appid
-         * @param $app app
-         * @return OC_FilesystemView
-         */
-        public static function getStorage( $app ) {
+       /**
+        * @param string appid
+        * @param $app app
+        * @return OC_FilesystemView
+        */
+       public static function getStorage( $app ) {
                return \OC_App::getStorage( $app );
        }
-
-
-
-
 }