diff options
65 files changed, 3 insertions, 325 deletions
diff --git a/library/WT/Controller/Familybook.php b/library/WT/Controller/Familybook.php index 1ce14ff2e8..fdc7de74c8 100644 --- a/library/WT/Controller/Familybook.php +++ b/library/WT/Controller/Familybook.php @@ -21,11 +21,6 @@ // along with this program; if not, write to the Free Software // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -if (!defined('WT_WEBTREES')) { - header('HTTP/1.0 403 Forbidden'); - exit; -} - class WT_Controller_Familybook extends WT_Controller_Chart { // Data for the view public $pid =null; diff --git a/library/pclzip.lib.php b/library/pclzip.lib.php index 4bc05df19c..d4c17d7763 100644 --- a/library/pclzip.lib.php +++ b/library/pclzip.lib.php @@ -23,11 +23,6 @@ // // -------------------------------------------------------------------------------- -if (!defined('WT_WEBTREES')) { - header('HTTP/1.0 403 Forbidden'); - exit; -} - // ----- Constants if (!defined('PCLZIP_READ_BLOCK_SIZE')) { define( 'PCLZIP_READ_BLOCK_SIZE', 2048 ); diff --git a/modules_v3/GEDFact_assistant/module.php b/modules_v3/GEDFact_assistant/module.php index 2ca04dc603..e9c79e877a 100644 --- a/modules_v3/GEDFact_assistant/module.php +++ b/modules_v3/GEDFact_assistant/module.php @@ -21,11 +21,6 @@ // along with this program; if not, write to the Free Software // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -if (!defined('WT_WEBTREES')) { - header('HTTP/1.0 403 Forbidden'); - exit; -} - class GEDFact_assistant_WT_Module extends WT_Module { // Extend WT_Module public function getTitle() { diff --git a/modules_v3/ahnentafel_report/module.php b/modules_v3/ahnentafel_report/module.php index 85cf6a87b0..0cb1fb6b06 100644 --- a/modules_v3/ahnentafel_report/module.php +++ b/modules_v3/ahnentafel_report/module.php @@ -21,11 +21,6 @@ // along with this program; if not, write to the Free Software // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -if (!defined('WT_WEBTREES')) { - header('HTTP/1.0 403 Forbidden'); - exit; -} - class ahnentafel_report_WT_Module extends WT_Module implements WT_Module_Report { // Extend class WT_Module public function getTitle() { diff --git a/modules_v3/batch_update/module.php b/modules_v3/batch_update/module.php index b4427b73cc..d195e02a40 100644 --- a/modules_v3/batch_update/module.php +++ b/modules_v3/batch_update/module.php @@ -20,11 +20,6 @@ use WT\Auth; -if (!defined('WT_WEBTREES')) { - header('HTTP/1.0 403 Forbidden'); - exit; -} - class batch_update_WT_Module extends WT_Module implements WT_Module_Config{ // Extend WT_Module public function getTitle() { diff --git a/modules_v3/batch_update/plugins/death_y.php b/modules_v3/batch_update/plugins/death_y.php index 779d4df124..29b3bfb6e8 100644 --- a/modules_v3/batch_update/plugins/death_y.php +++ b/modules_v3/batch_update/plugins/death_y.php @@ -18,11 +18,6 @@ // along with this program; if not, write to the Free Software // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -if (!defined('WT_WEBTREES')) { - header('HTTP/1.0 403 Forbidden'); - exit; -} - class death_y_bu_plugin extends base_plugin { static function getName() { return WT_I18N::translate('Add missing death records'); diff --git a/modules_v3/batch_update/plugins/duplicate_links.php b/modules_v3/batch_update/plugins/duplicate_links.php index 587fbf8dc2..498f9ca861 100644 --- a/modules_v3/batch_update/plugins/duplicate_links.php +++ b/modules_v3/batch_update/plugins/duplicate_links.php @@ -18,11 +18,6 @@ // along with this program; if not, write to the Free Software // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -if (!defined('WT_WEBTREES')) { - header('HTTP/1.0 403 Forbidden'); - exit; -} - class duplicate_links_bu_plugin extends base_plugin { static function getName() { return WT_I18N::translate('Remove duplicate links'); diff --git a/modules_v3/batch_update/plugins/married_names.php b/modules_v3/batch_update/plugins/married_names.php index c903ee0084..51bc989f4e 100644 --- a/modules_v3/batch_update/plugins/married_names.php +++ b/modules_v3/batch_update/plugins/married_names.php @@ -21,11 +21,6 @@ // along with this program; if not, write to the Free Software // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -if (!defined('WT_WEBTREES')) { - header('HTTP/1.0 403 Forbidden'); - exit; -} - class married_names_bu_plugin extends base_plugin { var $surname=null; // User option: add or replace husband’s surname diff --git a/modules_v3/batch_update/plugins/name_format.php b/modules_v3/batch_update/plugins/name_format.php index b710913740..052208a216 100644 --- a/modules_v3/batch_update/plugins/name_format.php +++ b/modules_v3/batch_update/plugins/name_format.php @@ -18,11 +18,6 @@ // along with this program; if not, write to the Free Software // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -if (!defined('WT_WEBTREES')) { - header('HTTP/1.0 403 Forbidden'); - exit; -} - class name_format_bu_plugin extends base_plugin { static function getName() { return WT_I18N::translate('Fix name slashes and spaces'); diff --git a/modules_v3/batch_update/plugins/search_replace.php b/modules_v3/batch_update/plugins/search_replace.php index d99faa38b9..a4d69b2824 100644 --- a/modules_v3/batch_update/plugins/search_replace.php +++ b/modules_v3/batch_update/plugins/search_replace.php @@ -18,11 +18,6 @@ // along with this program; if not, write to the Free Software // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -if (!defined('WT_WEBTREES')) { - header('HTTP/1.0 403 Forbidden'); - exit; -} - class search_replace_bu_plugin extends base_plugin { var $search =null; // Search string var $replace=null; // Replace string diff --git a/modules_v3/bdm_report/module.php b/modules_v3/bdm_report/module.php index 0e79db1a65..ffb8d66e77 100644 --- a/modules_v3/bdm_report/module.php +++ b/modules_v3/bdm_report/module.php @@ -21,11 +21,6 @@ // along with this program; if not, write to the Free Software // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -if (!defined('WT_WEBTREES')) { - header('HTTP/1.0 403 Forbidden'); - exit; -} - class bdm_report_WT_Module extends WT_Module implements WT_Module_Report { // Extend class WT_Module public function getTitle() { diff --git a/modules_v3/birth_report/module.php b/modules_v3/birth_report/module.php index 0f025a6bd3..9d15d92db8 100644 --- a/modules_v3/birth_report/module.php +++ b/modules_v3/birth_report/module.php @@ -21,11 +21,6 @@ // along with this program; if not, write to the Free Software // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -if (!defined('WT_WEBTREES')) { - header('HTTP/1.0 403 Forbidden'); - exit; -} - class birth_report_WT_Module extends WT_Module implements WT_Module_Report { // Extend class WT_Module public function getTitle() { diff --git a/modules_v3/cemetery_report/module.php b/modules_v3/cemetery_report/module.php index 6e6b188259..e7ddd55107 100644 --- a/modules_v3/cemetery_report/module.php +++ b/modules_v3/cemetery_report/module.php @@ -21,11 +21,6 @@ // along with this program; if not, write to the Free Software // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -if (!defined('WT_WEBTREES')) { - header('HTTP/1.0 403 Forbidden'); - exit; -} - class cemetery_report_WT_Module extends WT_Module implements WT_Module_Report { // Extend class WT_Module public function getTitle() { diff --git a/modules_v3/change_report/module.php b/modules_v3/change_report/module.php index fd2e34ae73..2f36c042a0 100644 --- a/modules_v3/change_report/module.php +++ b/modules_v3/change_report/module.php @@ -21,11 +21,6 @@ // along with this program; if not, write to the Free Software // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -if (!defined('WT_WEBTREES')) { - header('HTTP/1.0 403 Forbidden'); - exit; -} - class change_report_WT_Module extends WT_Module implements WT_Module_Report { // Extend class WT_Module public function getTitle() { diff --git a/modules_v3/charts/module.php b/modules_v3/charts/module.php index db1be7a1d4..b1df64f7d3 100644 --- a/modules_v3/charts/module.php +++ b/modules_v3/charts/module.php @@ -21,11 +21,6 @@ // along with this program; if not, write to the Free Software // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -if (!defined('WT_WEBTREES')) { - header('HTTP/1.0 403 Forbidden'); - exit; -} - class charts_WT_Module extends WT_Module implements WT_Module_Block { // Extend class WT_Module public function getTitle() { diff --git a/modules_v3/ckeditor/module.php b/modules_v3/ckeditor/module.php index 156eafbc71..2a7ce3db03 100755 --- a/modules_v3/ckeditor/module.php +++ b/modules_v3/ckeditor/module.php @@ -21,11 +21,6 @@ // along with this program; if not, write to the Free Software // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -if (!defined('WT_WEBTREES')) { - header('HTTP/1.0 403 Forbidden'); - exit; -} - class ckeditor_WT_Module extends WT_Module { const VERSION = 'ckeditor-4.4.1-custom'; diff --git a/modules_v3/clippings/module.php b/modules_v3/clippings/module.php index 8a6435f5de..cace03ff64 100644 --- a/modules_v3/clippings/module.php +++ b/modules_v3/clippings/module.php @@ -21,11 +21,6 @@ // along with this program; if not, write to the Free Software // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -if (!defined('WT_WEBTREES')) { - header('HTTP/1.0 403 Forbidden'); - exit; -} - class clippings_WT_Module extends WT_Module implements WT_Module_Menu, WT_Module_Sidebar { // Extend class WT_Module public function getTitle() { diff --git a/modules_v3/death_report/module.php b/modules_v3/death_report/module.php index d682719acb..f3b7e0cd3e 100644 --- a/modules_v3/death_report/module.php +++ b/modules_v3/death_report/module.php @@ -21,11 +21,6 @@ // along with this program; if not, write to the Free Software // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -if (!defined('WT_WEBTREES')) { - header('HTTP/1.0 403 Forbidden'); - exit; -} - class death_report_WT_Module extends WT_Module implements WT_Module_Report { // Extend class WT_Module public function getTitle() { diff --git a/modules_v3/descendancy/module.php b/modules_v3/descendancy/module.php index edb3fb98bf..dd78ed11f0 100644 --- a/modules_v3/descendancy/module.php +++ b/modules_v3/descendancy/module.php @@ -21,11 +21,6 @@ // along with this program; if not, write to the Free Software // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -if (!defined('WT_WEBTREES')) { - header('HTTP/1.0 403 Forbidden'); - exit; -} - class descendancy_WT_Module extends WT_Module implements WT_Module_Sidebar { // Extend WT_Module public function getTitle() { diff --git a/modules_v3/descendancy_report/module.php b/modules_v3/descendancy_report/module.php index 7f0df6ec67..2abad36c88 100644 --- a/modules_v3/descendancy_report/module.php +++ b/modules_v3/descendancy_report/module.php @@ -21,11 +21,6 @@ // along with this program; if not, write to the Free Software // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -if (!defined('WT_WEBTREES')) { - header('HTTP/1.0 403 Forbidden'); - exit; -} - class descendancy_report_WT_Module extends WT_Module implements WT_Module_Report { // Extend class WT_Module public function getTitle() { diff --git a/modules_v3/extra_info/module.php b/modules_v3/extra_info/module.php index 4093947d7a..b7435c97f7 100644 --- a/modules_v3/extra_info/module.php +++ b/modules_v3/extra_info/module.php @@ -18,11 +18,6 @@ // along with this program; if not, write to the Free Software // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -if (!defined('WT_WEBTREES')) { - header('HTTP/1.0 403 Forbidden'); - exit; -} - class extra_info_WT_Module extends WT_Module implements WT_Module_Sidebar { // Extend WT_Module public function getTitle() { diff --git a/modules_v3/fact_sources/module.php b/modules_v3/fact_sources/module.php index fdf6b25c75..723e954162 100644 --- a/modules_v3/fact_sources/module.php +++ b/modules_v3/fact_sources/module.php @@ -21,11 +21,6 @@ // along with this program; if not, write to the Free Software // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -if (!defined('WT_WEBTREES')) { - header('HTTP/1.0 403 Forbidden'); - exit; -} - class fact_sources_WT_Module extends WT_Module implements WT_Module_Report { // Extend class WT_Module public function getTitle() { diff --git a/modules_v3/families/module.php b/modules_v3/families/module.php index 401c372e4b..3487a8473a 100644 --- a/modules_v3/families/module.php +++ b/modules_v3/families/module.php @@ -21,11 +21,6 @@ // along with this program; if not, write to the Free Software // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -if (!defined('WT_WEBTREES')) { - header('HTTP/1.0 403 Forbidden'); - exit; -} - class families_WT_Module extends WT_Module implements WT_Module_Sidebar { // Extend class WT_Module public function getTitle() { diff --git a/modules_v3/family_group_report/module.php b/modules_v3/family_group_report/module.php index dfeb2e927d..21fa1d3b1f 100644 --- a/modules_v3/family_group_report/module.php +++ b/modules_v3/family_group_report/module.php @@ -21,11 +21,6 @@ // along with this program; if not, write to the Free Software // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -if (!defined('WT_WEBTREES')) { - header('HTTP/1.0 403 Forbidden'); - exit; -} - class family_group_report_WT_Module extends WT_Module implements WT_Module_Report { // Extend class WT_Module public function getTitle() { diff --git a/modules_v3/family_nav/module.php b/modules_v3/family_nav/module.php index 496edca842..5205ca0c3d 100644 --- a/modules_v3/family_nav/module.php +++ b/modules_v3/family_nav/module.php @@ -21,11 +21,6 @@ // along with this program; if not, write to the Free Software // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -if (!defined('WT_WEBTREES')) { - header('HTTP/1.0 403 Forbidden'); - exit; -} - class family_nav_WT_Module extends WT_Module implements WT_Module_Sidebar { CONST TTL = "<div class='flyout2'>%s</div>"; diff --git a/modules_v3/faq/module.php b/modules_v3/faq/module.php index a798ecb134..7dd62a67be 100644 --- a/modules_v3/faq/module.php +++ b/modules_v3/faq/module.php @@ -21,11 +21,6 @@ // along with this program; if not, write to the Free Software // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -if (!defined('WT_WEBTREES')) { - header('HTTP/1.0 403 Forbidden'); - exit; -} - class faq_WT_Module extends WT_Module implements WT_Module_Menu, WT_Module_Block, WT_Module_Config { // Extend class WT_Module public function getTitle() { diff --git a/modules_v3/gedcom_block/module.php b/modules_v3/gedcom_block/module.php index b455cea24e..af9999b1af 100644 --- a/modules_v3/gedcom_block/module.php +++ b/modules_v3/gedcom_block/module.php @@ -21,11 +21,6 @@ // along with this program; if not, write to the Free Software // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -if (!defined('WT_WEBTREES')) { - header('HTTP/1.0 403 Forbidden'); - exit; -} - class gedcom_block_WT_Module extends WT_Module implements WT_Module_Block { // Extend class WT_Module public function getTitle() { diff --git a/modules_v3/gedcom_favorites/module.php b/modules_v3/gedcom_favorites/module.php index a0fee9cf50..186121cf32 100644 --- a/modules_v3/gedcom_favorites/module.php +++ b/modules_v3/gedcom_favorites/module.php @@ -21,12 +21,8 @@ // along with this program; if not, write to the Free Software // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -if (!defined('WT_WEBTREES')) { - header('HTTP/1.0 403 Forbidden'); - exit; -} - use Rhumsaa\Uuid\Uuid; + // Note that the user favorites module simply extends this module, so ensure that the // logic works for both. class gedcom_favorites_WT_Module extends WT_Module implements WT_Module_Block { diff --git a/modules_v3/gedcom_stats/module.php b/modules_v3/gedcom_stats/module.php index 50323b07ea..1a3a140bc3 100644 --- a/modules_v3/gedcom_stats/module.php +++ b/modules_v3/gedcom_stats/module.php @@ -21,11 +21,6 @@ // along with this program; if not, write to the Free Software // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -if (!defined('WT_WEBTREES')) { - header('HTTP/1.0 403 Forbidden'); - exit; -} - class gedcom_stats_WT_Module extends WT_Module implements WT_Module_Block { // Extend class WT_Module public function getTitle() { diff --git a/modules_v3/googlemap/module.php b/modules_v3/googlemap/module.php index 7c39e1b08a..53390c6e4f 100644 --- a/modules_v3/googlemap/module.php +++ b/modules_v3/googlemap/module.php @@ -24,11 +24,6 @@ use WT\Auth; use WT\Log; -if (!defined('WT_WEBTREES')) { - header('HTTP/1.0 403 Forbidden'); - exit; -} - // http://www.google.com/permissions/guidelines.html // // "... an unregistered Google Brand Feature should be followed by diff --git a/modules_v3/html/module.php b/modules_v3/html/module.php index f57a8f01f8..f00779ddf5 100644 --- a/modules_v3/html/module.php +++ b/modules_v3/html/module.php @@ -21,11 +21,6 @@ // along with this program; if not, write to the Free Software // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -if (!defined('WT_WEBTREES')) { - header('HTTP/1.0 403 Forbidden'); - exit; -} - class html_WT_Module extends WT_Module implements WT_Module_Block { // Extend class WT_Module public function getTitle() { diff --git a/modules_v3/individual_ext_report/module.php b/modules_v3/individual_ext_report/module.php index b3c9807a16..dc8bbd5537 100644 --- a/modules_v3/individual_ext_report/module.php +++ b/modules_v3/individual_ext_report/module.php @@ -21,11 +21,6 @@ // along with this program; if not, write to the Free Software // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -if (!defined('WT_WEBTREES')) { - header('HTTP/1.0 403 Forbidden'); - exit; -} - class individual_ext_report_WT_Module extends WT_Module implements WT_Module_Report { // Extend class WT_Module public function getTitle() { diff --git a/modules_v3/individual_report/module.php b/modules_v3/individual_report/module.php index 7cc4cc1561..36f8126531 100644 --- a/modules_v3/individual_report/module.php +++ b/modules_v3/individual_report/module.php @@ -21,11 +21,6 @@ // along with this program; if not, write to the Free Software // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -if (!defined('WT_WEBTREES')) { - header('HTTP/1.0 403 Forbidden'); - exit; -} - class individual_report_WT_Module extends WT_Module implements WT_Module_Report { // Extend class WT_Module public function getTitle() { diff --git a/modules_v3/individuals/module.php b/modules_v3/individuals/module.php index c024b067b6..856f0778ce 100644 --- a/modules_v3/individuals/module.php +++ b/modules_v3/individuals/module.php @@ -21,11 +21,6 @@ // along with this program; if not, write to the Free Software // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -if (!defined('WT_WEBTREES')) { - header('HTTP/1.0 403 Forbidden'); - exit; -} - class individuals_WT_Module extends WT_Module implements WT_Module_Sidebar { // Extend class WT_Module public function getTitle() { diff --git a/modules_v3/lightbox/module.php b/modules_v3/lightbox/module.php index aa2f614ae8..d31b41f9ce 100644 --- a/modules_v3/lightbox/module.php +++ b/modules_v3/lightbox/module.php @@ -23,11 +23,6 @@ use WT\Auth; -if (!defined('WT_WEBTREES')) { - header('HTTP/1.0 403 Forbidden'); - exit; -} - class lightbox_WT_Module extends WT_Module implements WT_Module_Tab { private $media_list; diff --git a/modules_v3/logged_in/module.php b/modules_v3/logged_in/module.php index 1be7e80598..bdd76b2d08 100644 --- a/modules_v3/logged_in/module.php +++ b/modules_v3/logged_in/module.php @@ -21,11 +21,6 @@ // along with this program; if not, write to the Free Software // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -if (!defined('WT_WEBTREES')) { - header('HTTP/1.0 403 Forbidden'); - exit; -} - class logged_in_WT_Module extends WT_Module implements WT_Module_Block { // Extend class WT_Module public function getTitle() { diff --git a/modules_v3/login_block/module.php b/modules_v3/login_block/module.php index 5f346e56c5..946fcfb361 100644 --- a/modules_v3/login_block/module.php +++ b/modules_v3/login_block/module.php @@ -21,11 +21,6 @@ // along with this program; if not, write to the Free Software // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -if (!defined('WT_WEBTREES')) { - header('HTTP/1.0 403 Forbidden'); - exit; -} - class login_block_WT_Module extends WT_Module implements WT_Module_Block { // Extend class WT_Module public function getTitle() { diff --git a/modules_v3/marriage_report/module.php b/modules_v3/marriage_report/module.php index 08183efa50..e642899416 100644 --- a/modules_v3/marriage_report/module.php +++ b/modules_v3/marriage_report/module.php @@ -21,11 +21,6 @@ // along with this program; if not, write to the Free Software // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -if (!defined('WT_WEBTREES')) { - header('HTTP/1.0 403 Forbidden'); - exit; -} - class marriage_report_WT_Module extends WT_Module implements WT_Module_Report { // Extend class WT_Module public function getTitle() { diff --git a/modules_v3/media/module.php b/modules_v3/media/module.php index 8c8839cecb..10050b0b96 100644 --- a/modules_v3/media/module.php +++ b/modules_v3/media/module.php @@ -21,11 +21,6 @@ // along with this program; if not, write to the Free Software // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -if (!defined('WT_WEBTREES')) { - header('HTTP/1.0 403 Forbidden'); - exit; -} - class media_WT_Module extends WT_Module implements WT_Module_Tab { private $facts; diff --git a/modules_v3/missing_facts_report/module.php b/modules_v3/missing_facts_report/module.php index 719a5fe599..95468454d0 100644 --- a/modules_v3/missing_facts_report/module.php +++ b/modules_v3/missing_facts_report/module.php @@ -21,11 +21,6 @@ // along with this program; if not, write to the Free Software // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -if (!defined('WT_WEBTREES')) { - header('HTTP/1.0 403 Forbidden'); - exit; -} - class missing_facts_report_WT_Module extends WT_Module implements WT_Module_Report { // Extend class WT_Module public function getTitle() { diff --git a/modules_v3/notes/module.php b/modules_v3/notes/module.php index 089b31083a..595bb56710 100644 --- a/modules_v3/notes/module.php +++ b/modules_v3/notes/module.php @@ -21,11 +21,6 @@ // along with this program; if not, write to the Free Software // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -if (!defined('WT_WEBTREES')) { - header('HTTP/1.0 403 Forbidden'); - exit; -} - class notes_WT_Module extends WT_Module implements WT_Module_Tab { private $facts; diff --git a/modules_v3/occupation_report/module.php b/modules_v3/occupation_report/module.php index ee74f71714..2d5eba7e18 100644 --- a/modules_v3/occupation_report/module.php +++ b/modules_v3/occupation_report/module.php @@ -21,11 +21,6 @@ // along with this program; if not, write to the Free Software // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -if (!defined('WT_WEBTREES')) { - header('HTTP/1.0 403 Forbidden'); - exit; -} - class occupation_report_WT_Module extends WT_Module implements WT_Module_Report { // Extend class WT_Module public function getTitle() { diff --git a/modules_v3/page_menu/module.php b/modules_v3/page_menu/module.php index 3921c92526..13cb3cd6e5 100644 --- a/modules_v3/page_menu/module.php +++ b/modules_v3/page_menu/module.php @@ -21,11 +21,6 @@ // along with this program; if not, write to the Free Software // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -if (!defined('WT_WEBTREES')) { - header('HTTP/1.0 403 Forbidden'); - exit; -} - class page_menu_WT_Module extends WT_Module implements WT_Module_Menu { // Extend WT_Module public function getTitle() { diff --git a/modules_v3/pedigree_report/module.php b/modules_v3/pedigree_report/module.php index 3ca0a7f7fc..197b4ad0ea 100644 --- a/modules_v3/pedigree_report/module.php +++ b/modules_v3/pedigree_report/module.php @@ -21,11 +21,6 @@ // along with this program; if not, write to the Free Software // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -if (!defined('WT_WEBTREES')) { - header('HTTP/1.0 403 Forbidden'); - exit; -} - class pedigree_report_WT_Module extends WT_Module implements WT_Module_Report { // Extend class WT_Module public function getTitle() { diff --git a/modules_v3/personal_facts/module.php b/modules_v3/personal_facts/module.php index 46eb773447..bfbba5baaf 100644 --- a/modules_v3/personal_facts/module.php +++ b/modules_v3/personal_facts/module.php @@ -21,11 +21,6 @@ // along with this program; if not, write to the Free Software // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -if (!defined('WT_WEBTREES')) { - header('HTTP/1.0 403 Forbidden'); - exit; -} - class personal_facts_WT_Module extends WT_Module implements WT_Module_Tab { // Extend WT_Module public function getTitle() { diff --git a/modules_v3/random_media/module.php b/modules_v3/random_media/module.php index af44dda782..59d2130127 100644 --- a/modules_v3/random_media/module.php +++ b/modules_v3/random_media/module.php @@ -21,11 +21,6 @@ // along with this program; if not, write to the Free Software // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -if (!defined('WT_WEBTREES')) { - header('HTTP/1.0 403 Forbidden'); - exit; -} - class random_media_WT_Module extends WT_Module implements WT_Module_Block { // Extend class WT_Module public function getTitle() { diff --git a/modules_v3/recent_changes/module.php b/modules_v3/recent_changes/module.php index 357ed0539d..3f7179c9d2 100644 --- a/modules_v3/recent_changes/module.php +++ b/modules_v3/recent_changes/module.php @@ -22,11 +22,6 @@ // along with this program; if not, write to the Free Software // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -if (!defined('WT_WEBTREES')) { - header('HTTP/1.0 403 Forbidden'); - exit; -} - class recent_changes_WT_Module extends WT_Module implements WT_Module_Block { const DEFAULT_DAYS = 7; const MAX_DAYS = 90; diff --git a/modules_v3/relative_ext_report/module.php b/modules_v3/relative_ext_report/module.php index 88c83374f0..6037fd4df4 100644 --- a/modules_v3/relative_ext_report/module.php +++ b/modules_v3/relative_ext_report/module.php @@ -21,11 +21,6 @@ // along with this program; if not, write to the Free Software // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -if (!defined('WT_WEBTREES')) { - header('HTTP/1.0 403 Forbidden'); - exit; -} - class relative_ext_report_WT_Module extends WT_Module implements WT_Module_Report { // Extend class WT_Module public function getTitle() { diff --git a/modules_v3/relatives/module.php b/modules_v3/relatives/module.php index 735d954f1a..cdbcce2928 100644 --- a/modules_v3/relatives/module.php +++ b/modules_v3/relatives/module.php @@ -21,11 +21,6 @@ // along with this program; if not, write to the Free Software // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -if (!defined('WT_WEBTREES')) { - header('HTTP/1.0 403 Forbidden'); - exit; -} - class relatives_WT_Module extends WT_Module implements WT_Module_Tab { // Extend WT_Module public function getTitle() { diff --git a/modules_v3/review_changes/module.php b/modules_v3/review_changes/module.php index 49554a4672..05da78231c 100644 --- a/modules_v3/review_changes/module.php +++ b/modules_v3/review_changes/module.php @@ -23,11 +23,6 @@ use WT\User; -if (!defined('WT_WEBTREES')) { - header('HTTP/1.0 403 Forbidden'); - exit; -} - class review_changes_WT_Module extends WT_Module implements WT_Module_Block { // Extend class WT_Module public function getTitle() { diff --git a/modules_v3/sitemap/module.php b/modules_v3/sitemap/module.php index b33001677b..6c9eaf31a0 100644 --- a/modules_v3/sitemap/module.php +++ b/modules_v3/sitemap/module.php @@ -20,11 +20,6 @@ use WT\Auth; -if (!defined('WT_WEBTREES')) { - header('HTTP/1.0 403 Forbidden'); - exit; -} - class sitemap_WT_Module extends WT_Module implements WT_Module_Config { const RECORDS_PER_VOLUME=500; // Keep sitemap files small, for memory, CPU and max_allowed_packet limits. const CACHE_LIFE =1209600; // Two weeks diff --git a/modules_v3/sources_tab/module.php b/modules_v3/sources_tab/module.php index a7493a40d6..0cb0e06ccc 100644 --- a/modules_v3/sources_tab/module.php +++ b/modules_v3/sources_tab/module.php @@ -21,11 +21,6 @@ // along with this program; if not, write to the Free Software // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -if (!defined('WT_WEBTREES')) { - header('HTTP/1.0 403 Forbidden'); - exit; -} - class sources_tab_WT_Module extends WT_Module implements WT_Module_Tab { private $facts; diff --git a/modules_v3/stories/module.php b/modules_v3/stories/module.php index 18622c454a..1f3ab6372f 100644 --- a/modules_v3/stories/module.php +++ b/modules_v3/stories/module.php @@ -21,11 +21,6 @@ // along with this program; if not, write to the Free Software // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -if (!defined('WT_WEBTREES')) { - header('HTTP/1.0 403 Forbidden'); - exit; -} - class stories_WT_Module extends WT_Module implements WT_Module_Block, WT_Module_Tab, WT_Module_Config, WT_Module_Menu { // Extend class WT_Module public function getTitle() { diff --git a/modules_v3/theme_select/module.php b/modules_v3/theme_select/module.php index bac9f0ddcd..ab290b2582 100644 --- a/modules_v3/theme_select/module.php +++ b/modules_v3/theme_select/module.php @@ -21,11 +21,6 @@ // along with this program; if not, write to the Free Software // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -if (!defined('WT_WEBTREES')) { - header('HTTP/1.0 403 Forbidden'); - exit; -} - class theme_select_WT_Module extends WT_Module implements WT_Module_Block { // Extend class WT_Module public function getTitle() { diff --git a/modules_v3/todays_events/module.php b/modules_v3/todays_events/module.php index cec98a5b61..3155dae52f 100644 --- a/modules_v3/todays_events/module.php +++ b/modules_v3/todays_events/module.php @@ -21,11 +21,6 @@ // along with this program; if not, write to the Free Software // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -if (!defined('WT_WEBTREES')) { - header('HTTP/1.0 403 Forbidden'); - exit; -} - class todays_events_WT_Module extends WT_Module implements WT_Module_Block { // Extend class WT_Module public function getTitle() { diff --git a/modules_v3/todo/module.php b/modules_v3/todo/module.php index 46bc9f3563..2dfb72340d 100644 --- a/modules_v3/todo/module.php +++ b/modules_v3/todo/module.php @@ -21,12 +21,8 @@ // along with this program; if not, write to the Free Software // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -if (!defined('WT_WEBTREES')) { - header('HTTP/1.0 403 Forbidden'); - exit; -} - use Rhumsaa\Uuid\Uuid; + class todo_WT_Module extends WT_Module implements WT_Module_Block { // Extend class WT_Module public function getTitle() { diff --git a/modules_v3/top10_givnnames/module.php b/modules_v3/top10_givnnames/module.php index 977406c1ac..5ba67ee4c1 100644 --- a/modules_v3/top10_givnnames/module.php +++ b/modules_v3/top10_givnnames/module.php @@ -21,11 +21,6 @@ // along with this program; if not, write to the Free Software // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -if (!defined('WT_WEBTREES')) { - header('HTTP/1.0 403 Forbidden'); - exit; -} - class top10_givnnames_WT_Module extends WT_Module implements WT_Module_Block { // Extend class WT_Module public function getTitle() { diff --git a/modules_v3/top10_pageviews/module.php b/modules_v3/top10_pageviews/module.php index 57e806ee39..1e56851977 100644 --- a/modules_v3/top10_pageviews/module.php +++ b/modules_v3/top10_pageviews/module.php @@ -21,11 +21,6 @@ // along with this program; if not, write to the Free Software // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -if (!defined('WT_WEBTREES')) { - header('HTTP/1.0 403 Forbidden'); - exit; -} - class top10_pageviews_WT_Module extends WT_Module implements WT_Module_Block { // Extend class WT_Module public function getTitle() { diff --git a/modules_v3/top10_surnames/module.php b/modules_v3/top10_surnames/module.php index 89b258693f..eaa1eaa989 100644 --- a/modules_v3/top10_surnames/module.php +++ b/modules_v3/top10_surnames/module.php @@ -21,11 +21,6 @@ // along with this program; if not, write to the Free Software // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -if (!defined('WT_WEBTREES')) { - header('HTTP/1.0 403 Forbidden'); - exit; -} - class top10_surnames_WT_Module extends WT_Module implements WT_Module_Block { // Extend class WT_Module public function getTitle() { diff --git a/modules_v3/tree/class_treeview.php b/modules_v3/tree/class_treeview.php index 07bb9c77c9..968563a07c 100644 --- a/modules_v3/tree/class_treeview.php +++ b/modules_v3/tree/class_treeview.php @@ -18,11 +18,6 @@ // along with this program; if not, write to the Free Software // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -if (!defined('WT_WEBTREES')) { - header('HTTP/1.0 403 Forbidden'); - exit; -} - class TreeView { private $name; private $all_partners; diff --git a/modules_v3/tree/module.php b/modules_v3/tree/module.php index 2254d44a3f..ae6366bde9 100644 --- a/modules_v3/tree/module.php +++ b/modules_v3/tree/module.php @@ -19,11 +19,6 @@ // along with this program; if not, write to the Free Software // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -if (!defined('WT_WEBTREES')) { - header('HTTP/1.0 403 Forbidden'); - exit; -} - class tree_WT_Module extends WT_Module implements WT_Module_Tab { var $headers; // CSS and script to include in the top of <head> section, before theme’s CSS var $js; // the TreeViewHandler javascript diff --git a/modules_v3/upcoming_events/module.php b/modules_v3/upcoming_events/module.php index 262835e862..2ca664b439 100644 --- a/modules_v3/upcoming_events/module.php +++ b/modules_v3/upcoming_events/module.php @@ -21,11 +21,6 @@ // along with this program; if not, write to the Free Software // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -if (!defined('WT_WEBTREES')) { - header('HTTP/1.0 403 Forbidden'); - exit; -} - class upcoming_events_WT_Module extends WT_Module implements WT_Module_Block { // Extend class WT_Module public function getTitle() { diff --git a/modules_v3/user_messages/module.php b/modules_v3/user_messages/module.php index 1cd9edaf44..f05d6b1859 100644 --- a/modules_v3/user_messages/module.php +++ b/modules_v3/user_messages/module.php @@ -23,11 +23,6 @@ use WT\User; -if (!defined('WT_WEBTREES')) { - header('HTTP/1.0 403 Forbidden'); - exit; -} - class user_messages_WT_Module extends WT_Module implements WT_Module_Block { // Extend class WT_Module public function getTitle() { diff --git a/modules_v3/user_welcome/module.php b/modules_v3/user_welcome/module.php index 378e2e0406..6cba2c4e7f 100644 --- a/modules_v3/user_welcome/module.php +++ b/modules_v3/user_welcome/module.php @@ -23,11 +23,6 @@ use WT\Auth; -if (!defined('WT_WEBTREES')) { - header('HTTP/1.0 403 Forbidden'); - exit; -} - class user_welcome_WT_Module extends WT_Module implements WT_Module_Block { // Extend class WT_Module public function getTitle() { diff --git a/modules_v3/yahrzeit/module.php b/modules_v3/yahrzeit/module.php index 4705386b71..4933cc522a 100644 --- a/modules_v3/yahrzeit/module.php +++ b/modules_v3/yahrzeit/module.php @@ -21,12 +21,8 @@ // along with this program; if not, write to the Free Software // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -if (!defined('WT_WEBTREES')) { - header('HTTP/1.0 403 Forbidden'); - exit; -} - use Rhumsaa\Uuid\Uuid; + class yahrzeit_WT_Module extends WT_Module implements WT_Module_Block { // Extend class WT_Module public function getTitle() { |
