]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix variable name
authorRobin Appelman <icewind@owncloud.com>
Thu, 6 Jun 2013 22:17:51 +0000 (00:17 +0200)
committerRobin Appelman <icewind@owncloud.com>
Thu, 6 Jun 2013 22:17:51 +0000 (00:17 +0200)
lib/helper.php

index c3dc8740ee814950e17bf4138b0ad1b700a5f9bd..84ebcf1d55844d1a22027aa9f327c34a98360d4e 100644 (file)
@@ -366,10 +366,10 @@ class OC_Helper {
        /**
         * Try to guess the mimetype based on filename
         *
-        * @param string $name
+        * @param string $path
         * @return string
         */
-       static public function getFileNameMimeType($name){
+       static public function getFileNameMimeType($path){
                if(strpos($path, '.')) {
                        //try to guess the type by the file extension
                        if(!self::$mimetypes || self::$mimetypes != include 'mimetypes.list.php') {