summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@webtrees.net>2018-05-28 13:06:37 +0100
committerGreg Roach <fisharebest@webtrees.net>2018-05-28 13:06:37 +0100
commit29c73c7a4e3b332d52cc4cda684504e68aaad9cc (patch)
tree6e78945afe93fc777953ac14caf0f80980363583 /app
parent291c1b192cb6e1eb15ae13834707fd06a4b995ad (diff)
downloadwebtrees-29c73c7a4e3b332d52cc4cda684504e68aaad9cc.tar.gz
webtrees-29c73c7a4e3b332d52cc4cda684504e68aaad9cc.tar.bz2
webtrees-29c73c7a4e3b332d52cc4cda684504e68aaad9cc.zip
Remove unused code
Diffstat (limited to 'app')
-rw-r--r--app/Module/RelationshipsChartModule.php20
1 files changed, 0 insertions, 20 deletions
diff --git a/app/Module/RelationshipsChartModule.php b/app/Module/RelationshipsChartModule.php
index 6b27bdca09..55ca6cfe31 100644
--- a/app/Module/RelationshipsChartModule.php
+++ b/app/Module/RelationshipsChartModule.php
@@ -153,26 +153,6 @@ class RelationshipsChartModule extends AbstractModule implements ModuleConfigInt
}
/**
- * This is a general purpose hook, allowing modules to respond to routes
- * of the form module.php?mod=FOO&mod_action=BAR
- *
- * @param string $mod_action
- */
- public function modAction($mod_action) {
- switch ($mod_action) {
- case 'admin':
- if ($_SERVER['REQUEST_METHOD'] === 'POST') {
- $this->saveConfig();
- } else {
- $this->editConfig();
- }
- break;
- default:
- http_response_code(404);
- }
- }
-
- /**
* Possible options for the ancestors option
*/
private function ancestorsOptions() {