diff --git a/code/model/Subsite.php b/code/model/Subsite.php index 8f54fcb2..26746109 100644 --- a/code/model/Subsite.php +++ b/code/model/Subsite.php @@ -43,6 +43,8 @@ */ class Subsite extends DataObject { + private static $table_name = 'Subsite'; + /** * @var $use_session_subsiteid Boolean Set to TRUE when using the CMS and FALSE * when browsing the frontend of a website. diff --git a/code/model/SubsiteDomain.php b/code/model/SubsiteDomain.php index 6d908c20..0e71cbc1 100644 --- a/code/model/SubsiteDomain.php +++ b/code/model/SubsiteDomain.php @@ -17,7 +17,9 @@ */ class SubsiteDomain extends DataObject { - /** + private static $table_name = 'SubsiteDomain'; + + /** * * @var string */ diff --git a/code/pages/SubsitesVirtualPage.php b/code/pages/SubsitesVirtualPage.php index df22c321..5e7d43b9 100644 --- a/code/pages/SubsitesVirtualPage.php +++ b/code/pages/SubsitesVirtualPage.php @@ -20,7 +20,9 @@ class SubsitesVirtualPage extends VirtualPage { - private static $description = 'Displays the content of a page on another subsite'; + private static $table_name = 'SubsitesVirtualPage'; + + private static $description = 'Displays the content of a page on another subsite'; private static $db = array( 'CustomMetaTitle' => 'Varchar(255)',