aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions.inc.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2012-05-26 07:48:28 +0000
committerplegall <plg@piwigo.org>2012-05-26 07:48:28 +0000
commit7ceb4bf21c26cb2446b5843852ddf1277674068c (patch)
tree3ae4e4deadc984155a93f16a9f1af9eedd28c091 /include/functions.inc.php
parent4355ed1ce797db912f91d7c314fc8c3266ecf552 (diff)
remove useless function/configuration due to derivatives
git-svn-id: http://piwigo.org/svn/trunk@15316 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include/functions.inc.php')
-rw-r--r--include/functions.inc.php24
1 files changed, 0 insertions, 24 deletions
diff --git a/include/functions.inc.php b/include/functions.inc.php
index 77e00dd6a..8bd33f35e 100644
--- a/include/functions.inc.php
+++ b/include/functions.inc.php
@@ -200,30 +200,6 @@ function mkgetdir($dir, $flags=MKGETDIR_DEFAULT)
return true;
}
-/**
- * returns thumbnail directory name of input diretoty name
- * make thumbnail directory is necessary
- * set error messages on array messages
- *
- * @param:
- * string $dirname
- * arrayy $errors
- * @return bool false on error else string directory name
- */
-function mkget_thumbnail_dir($dirname, &$errors)
-{
- global $conf;
-
- $tndir = $dirname.'/'.$conf['dir_thumbnail'];
- if (! mkgetdir($tndir, MKGETDIR_NONE) )
- {
- array_push($errors,
- '['.$dirname.'] : '.l10n('no write access'));
- return false;
- }
- return $tndir;
-}
-
/* Returns true if the string appears to be encoded in UTF-8. (from wordpress)
* @param string Str
*/