diff options
author | Robin Appelman <icewind@owncloud.com> | 2013-06-07 00:17:51 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2013-06-07 00:17:51 +0200 |
commit | 0470a5ba94d08447c169114387783d87c70c4382 (patch) | |
tree | 5e9bd4a81c647e6b9a52897f6ca84bcb76ac4360 | |
parent | cf7321915d3913888e03e0624b32296194a91e6e (diff) | |
download | nextcloud-server-0470a5ba94d08447c169114387783d87c70c4382.tar.gz nextcloud-server-0470a5ba94d08447c169114387783d87c70c4382.zip |
fix variable name
-rw-r--r-- | lib/helper.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/helper.php b/lib/helper.php index c3dc8740ee8..84ebcf1d558 100644 --- a/lib/helper.php +++ b/lib/helper.php @@ -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') { |