diff --git a/.tx/config b/.tx/config deleted file mode 100644 index 5668bc4..0000000 --- a/.tx/config +++ /dev/null @@ -1,8 +0,0 @@ -[main] -host = https://www.transifex.com - -[silverstripe-subsites.master] -file_filter = lang/.yml -source_file = lang/en.yml -source_lang = en -type = YML diff --git a/code/extensions/FileSubsites.php b/code/extensions/FileSubsites.php index db760dd..77e8319 100644 --- a/code/extensions/FileSubsites.php +++ b/code/extensions/FileSubsites.php @@ -9,7 +9,7 @@ class FileSubsites extends DataExtension // If this is set to true, all folders created will be default be // considered 'global', unless set otherwise public static $default_root_folders_global = false; - + private static $has_one=array( 'Subsite' => 'Subsite', ); @@ -130,7 +130,7 @@ class FileSubsites extends DataExtension return $access; } } - + /** * Return a piece of text to keep DataObject cache keys appropriately specific */