aboutsummaryrefslogtreecommitdiffstats
path: root/admin/include/functions_metadata.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2005-09-14 21:57:05 +0000
committerplegall <plg@piwigo.org>2005-09-14 21:57:05 +0000
commit3371c757424cef291be02a946e528983dece9543 (patch)
tree2ede9c21e065d766d8a3226309635c46b596d77d /admin/include/functions_metadata.php
parenteac1724ee5e20967d989916b76fc9076411be758 (diff)
- improvement: long localized messages are in HTML files instead of $lang
array. This is the case of admin/help and about pages. - deletion: of unused functions (ts_to_mysqldt, is_image, TN_exists, check_date_format, date_convert, get_category_directories, get_used_metadata_list, array_remove, pwg_write_debug, get_group_restrictions, get_all_group_restrictions, is_group_allowed, style_select, deprecated_getAttribute). - new: many new contextual help pages to replace descriptions previously included in pages. - modification: reorganisation of language files. Deletion of unused language keys, alphabetical sort. No faq.lang.php anymore (replaced by help.html). Only done for en_UK.iso-8859-1. git-svn-id: http://piwigo.org/svn/trunk@862 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/include/functions_metadata.php')
-rw-r--r--admin/include/functions_metadata.php24
1 files changed, 0 insertions, 24 deletions
diff --git a/admin/include/functions_metadata.php b/admin/include/functions_metadata.php
index 4836f85a3..79e38a829 100644
--- a/admin/include/functions_metadata.php
+++ b/admin/include/functions_metadata.php
@@ -221,28 +221,4 @@ SELECT id, path
return $files;
}
-
-// used_metadata string is displayed to inform admin which metadata will be
-// used from files for synchronization
-function get_used_metadata_list()
-{
- global $conf;
-
- $used_metadata = array('filesize', 'width', 'height');
-
- if ($conf['use_exif'])
- {
- array_push($used_metadata, 'date_creation');
- }
-
- if ($conf['use_iptc'])
- {
- foreach (array_keys($conf['use_iptc_mapping']) as $key)
- {
- array_push($used_metadata, $key);
- }
- }
-
- return array_unique($used_metadata);
-}
?> \ No newline at end of file