summaryrefslogtreecommitdiff
path: root/modules_v3/tree
diff options
context:
space:
mode:
authorfisharebest <fisharebest@gmail.com>2011-09-07 15:03:23 +0000
committerfisharebest <fisharebest@gmail.com>2011-09-07 15:03:23 +0000
commit8451e77868a172fd8423effe4f769ca2b761e119 (patch)
tree43841271e2a6b9f5ff0734f4d44e04943a6fc18d /modules_v3/tree
parent504ebbca5d3b2192bea4cbc869fd6bdc25a67e32 (diff)
downloadwebtrees-8451e77868a172fd8423effe4f769ca2b761e119.tar.gz
webtrees-8451e77868a172fd8423effe4f769ca2b761e119.tar.bz2
webtrees-8451e77868a172fd8423effe4f769ca2b761e119.zip
Remove the "enable multimedia" option. Multimedia is always enabled. Add a new configuration option to restrict who can upload new media files.
Diffstat (limited to 'modules_v3/tree')
-rw-r--r--modules_v3/tree/class_treeview.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules_v3/tree/class_treeview.php b/modules_v3/tree/class_treeview.php
index 7a43196194..5840e7c69b 100644
--- a/modules_v3/tree/class_treeview.php
+++ b/modules_v3/tree/class_treeview.php
@@ -415,10 +415,10 @@ class TreeView {
* @return string
*/
private function getThumbnail($personGroup, $person) {
- global $MULTI_MEDIA, $SHOW_HIGHLIGHT_IMAGES;
+ global $SHOW_HIGHLIGHT_IMAGES;
$thumbnail="";
- if ($MULTI_MEDIA && $SHOW_HIGHLIGHT_IMAGES) {
+ if ($SHOW_HIGHLIGHT_IMAGES) {
$object=$person->findHighlightedMedia();
$img_title=PrintReady(htmlspecialchars($person->getFullName()));
if (!empty($object)) {