summaryrefslogtreecommitdiff
path: root/includes/controllers
diff options
context:
space:
mode:
authorfisharebest <fisharebest@gmail.com>2010-06-26 19:16:25 +0000
committerfisharebest <fisharebest@gmail.com>2010-06-26 19:16:25 +0000
commit53810e62006ab063b4f77bd39c14119970a30b07 (patch)
treeb86d532b8d8638d29962a03339e6021ce0c1f68a /includes/controllers
parent7db735976e98f95dee9d5a03e58975c389ab40c2 (diff)
downloadwebtrees-53810e62006ab063b4f77bd39c14119970a30b07.tar.gz
webtrees-53810e62006ab063b4f77bd39c14119970a30b07.tar.bz2
webtrees-53810e62006ab063b4f77bd39c14119970a30b07.zip
Prune some dead/inaccessable code.
Diffstat (limited to 'includes/controllers')
-rw-r--r--includes/controllers/ancestry_ctrl.php7
-rw-r--r--includes/controllers/descendancy_ctrl.php6
-rw-r--r--includes/controllers/family_ctrl.php7
-rw-r--r--includes/controllers/hourglass_ctrl.php6
-rw-r--r--includes/controllers/individual_ctrl.php11
-rw-r--r--includes/controllers/lifespan_ctrl.php6
-rw-r--r--includes/controllers/note_ctrl.php7
-rw-r--r--includes/controllers/repository_ctrl.php7
-rw-r--r--includes/controllers/search_ctrl.php6
-rw-r--r--includes/controllers/source_ctrl.php8
-rw-r--r--includes/controllers/timeline_ctrl.php7
11 files changed, 1 insertions, 77 deletions
diff --git a/includes/controllers/ancestry_ctrl.php b/includes/controllers/ancestry_ctrl.php
index 012c1ccdc3..1190d64b75 100644
--- a/includes/controllers/ancestry_ctrl.php
+++ b/includes/controllers/ancestry_ctrl.php
@@ -54,7 +54,6 @@ $nonfamfacts[] = "";
*/
class AncestryControllerRoot extends BaseController {
var $pid = "";
-
var $user = false;
var $accept_success = false;
var $visibility = "visible";
@@ -70,12 +69,6 @@ class AncestryControllerRoot extends BaseController {
var $cellwidth;
/**
- * constructor
- */
- function AncestryControllerRoot() {
- parent::BaseController();
- }
- /**
* Initialization function
*/
function init() {
diff --git a/includes/controllers/descendancy_ctrl.php b/includes/controllers/descendancy_ctrl.php
index efa1cdb59e..6b3c2638ef 100644
--- a/includes/controllers/descendancy_ctrl.php
+++ b/includes/controllers/descendancy_ctrl.php
@@ -86,12 +86,6 @@ class DescendancyControllerRoot extends BaseController {
var $show_cousins;
/**
- * constructor
- */
- function DescendancyRootController() {
- parent::BaseController();
- }
- /**
* Initialization function
*/
function init() {
diff --git a/includes/controllers/family_ctrl.php b/includes/controllers/family_ctrl.php
index ae98a20315..e18c6375ed 100644
--- a/includes/controllers/family_ctrl.php
+++ b/includes/controllers/family_ctrl.php
@@ -58,13 +58,6 @@ class FamilyRoot extends BaseController {
var $family = null;
var $difffam = null;
- /**
- * constructor
- */
- function FamilyRoot() {
- parent::BaseController();
- }
-
function init() {
global $Dbwidth, $bwidth, $pbwidth, $pbheight, $bheight, $GEDCOM, $show_famlink;
$bwidth = $Dbwidth;
diff --git a/includes/controllers/hourglass_ctrl.php b/includes/controllers/hourglass_ctrl.php
index c14dbd2bef..242905bc81 100644
--- a/includes/controllers/hourglass_ctrl.php
+++ b/includes/controllers/hourglass_ctrl.php
@@ -78,12 +78,6 @@ class HourglassControllerRoot extends BaseController {
///////////////////////////////////////
/**
- * constructor
- */
- function HourglassControllerRoot() {
- parent::BaseController();
- }
- /**
* Initialization function
*/
function init($rootid='', $show_full=1, $generations=3) {
diff --git a/includes/controllers/individual_ctrl.php b/includes/controllers/individual_ctrl.php
index f1ba015d23..a5c891dbd1 100644
--- a/includes/controllers/individual_ctrl.php
+++ b/includes/controllers/individual_ctrl.php
@@ -71,13 +71,6 @@ class IndividualControllerRoot extends BaseController {
var $globalfacts = null;
/**
- * constructor
- */
- function IndividualControllerRoot() {
- parent::BaseController();
- }
-
- /**
* Initialization function
*/
function init() {
@@ -291,10 +284,6 @@ class IndividualControllerRoot extends BaseController {
}
exit;
}
-
- if (WT_USER_CAN_EDIT) {
-
- }
}
//-- end of init function
/**
diff --git a/includes/controllers/lifespan_ctrl.php b/includes/controllers/lifespan_ctrl.php
index df92d4f7cf..b052598c36 100644
--- a/includes/controllers/lifespan_ctrl.php
+++ b/includes/controllers/lifespan_ctrl.php
@@ -82,12 +82,6 @@ class LifespanControllerRoot extends BaseController {
var $endDate;
var $startDate;
var $currentsex;
- /**
- * constructor
- */
- function TimelineRootController() {
- parent :: BaseController();
- }
/**
* Initialization function
diff --git a/includes/controllers/note_ctrl.php b/includes/controllers/note_ctrl.php
index 8bb6535145..83e09afdc0 100644
--- a/includes/controllers/note_ctrl.php
+++ b/includes/controllers/note_ctrl.php
@@ -54,13 +54,6 @@ class NoteControllerRoot extends BaseController {
var $canedit = false;
/**
- * constructor
- */
- function NoteRootController() {
- parent::BaseController();
- }
-
- /**
* initialize the controller
*/
function init() {
diff --git a/includes/controllers/repository_ctrl.php b/includes/controllers/repository_ctrl.php
index b5a11f0d7c..81a420e3f8 100644
--- a/includes/controllers/repository_ctrl.php
+++ b/includes/controllers/repository_ctrl.php
@@ -53,13 +53,6 @@ class RepositoryControllerRoot extends BaseController {
var $canedit = false;
/**
- * constructor
- */
- function RepositoryRootController() {
- parent::BaseController();
- }
-
- /**
* initialize the controller
*/
function init() {
diff --git a/includes/controllers/search_ctrl.php b/includes/controllers/search_ctrl.php
index ecab0ba8df..5d318e667e 100644
--- a/includes/controllers/search_ctrl.php
+++ b/includes/controllers/search_ctrl.php
@@ -103,12 +103,6 @@ class SearchControllerRoot extends BaseController {
var $printplace = array();
/**
- * constructor
- */
- function SearchControllerRoot() {
- parent :: BaseController();
- }
- /**
* Initialization function
*/
function init() {
diff --git a/includes/controllers/source_ctrl.php b/includes/controllers/source_ctrl.php
index b6d4342c63..f4d8067e96 100644
--- a/includes/controllers/source_ctrl.php
+++ b/includes/controllers/source_ctrl.php
@@ -46,7 +46,6 @@ $nonfacts = array();
*/
class SourceControllerRoot extends BaseController {
var $sid;
- /* @var Source */
var $source = null;
var $uname = "";
var $diffsource = null;
@@ -54,13 +53,6 @@ class SourceControllerRoot extends BaseController {
var $canedit = false;
/**
- * constructor
- */
- function SourceRootController() {
- parent::BaseController();
- }
-
- /**
* initialize the controller
*/
function init() {
diff --git a/includes/controllers/timeline_ctrl.php b/includes/controllers/timeline_ctrl.php
index 87f282a1e6..bfa1c30767 100644
--- a/includes/controllers/timeline_ctrl.php
+++ b/includes/controllers/timeline_ctrl.php
@@ -56,12 +56,7 @@ class TimelineControllerRoot extends BaseController {
var $scale = 2;
// GEDCOM elements that may have DATE data, but should not be displayed
var $nonfacts = array("BAPL","ENDL","SLGC","SLGS","_TODO","CHAN");
- /**
- * constructor
- */
- function TimelineRootController() {
- parent::BaseController();
- }
+
/**
* Initialization function
*/