summaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-02-18 18:35:27 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2015-03-09 10:38:38 +0100
commite28d314b53b82d5b71d16b7749563337d562dbe5 (patch)
treefc47370aebda613ec3ce9fee5d5aca9b96b06f1f /lib/public
parent49e1a81eba45fe33e00c217758656cf9201ec0cd (diff)
downloadnextcloud-server-e28d314b53b82d5b71d16b7749563337d562dbe5.tar.gz
nextcloud-server-e28d314b53b82d5b71d16b7749563337d562dbe5.zip
deprecate isValidFileName()
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/util.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/public/util.php b/lib/public/util.php
index e6e14a26e01..aa6cd5ba012 100644
--- a/lib/public/util.php
+++ b/lib/public/util.php
@@ -497,6 +497,7 @@ class Util {
* Returns whether the given file name is valid
* @param string $file file name to check
* @return bool true if the file name is valid, false otherwise
+ * @deprecated use \OC\Files\View::verifyPath()
*/
public static function isValidFileName($file) {
return \OC_Util::isValidFileName($file);