diff options
Diffstat (limited to 'library/WT/Tree.php')
| -rw-r--r-- | library/WT/Tree.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/library/WT/Tree.php b/library/WT/Tree.php index 80548d1d31..ef9d7d8c23 100644 --- a/library/WT/Tree.php +++ b/library/WT/Tree.php @@ -85,7 +85,7 @@ class WT_Tree { return $this; } } - + // Get and Set the tree's configuration settings public function userPreference($user_id, $setting_name, $setting_value=null) { // There are lots of settings, and we need to fetch lots of them on every page @@ -115,7 +115,7 @@ class WT_Tree { return $this; } } - + // Can a user accept changes for this tree? public function canAcceptChanges($user_id) { return @@ -247,7 +247,7 @@ class WT_Tree { set_gedcom_setting($tree_id, 'MAX_PEDIGREE_GENERATIONS', '10'); set_gedcom_setting($tree_id, 'MEDIA_DIRECTORY', 'media/'); set_gedcom_setting($tree_id, 'MEDIA_ID_PREFIX', 'M'); - set_gedcom_setting($tree_id, 'MEDIA_UPLOAD', WT_PRIV_USER); + set_gedcom_setting($tree_id, 'MEDIA_UPLOAD', WT_PRIV_USER); set_gedcom_setting($tree_id, 'META_DESCRIPTION', ''); set_gedcom_setting($tree_id, 'META_TITLE', WT_WEBTREES); set_gedcom_setting($tree_id, 'NOTE_FACTS_ADD', 'SOUR,RESN'); @@ -348,7 +348,7 @@ class WT_Tree { // Delete everything relating to a tree public static function delete($tree_id) { - // If this is the default tree, then unset + // If this is the default tree, then unset if (WT_Site::preference('DEFAULT_GEDCOM')==self::getNameFromId($tree_id)) { WT_Site::preference('DEFAULT_GEDCOM', ''); } |
