diff options
| author | Greg Roach <fisharebest@webtrees.net> | 2019-01-17 09:07:20 +0000 |
|---|---|---|
| committer | Greg Roach <fisharebest@webtrees.net> | 2019-01-17 09:07:20 +0000 |
| commit | 982c207b13edd834c9dcd0edd1ccb60414cf1cd0 (patch) | |
| tree | bbb8278bbc72830cc9c0bd6eda07e1d6b93bf7e5 | |
| parent | ffdc799993188510a205fcc63e6de0fa1b7e43cb (diff) | |
| download | webtrees-982c207b13edd834c9dcd0edd1ccb60414cf1cd0.tar.gz webtrees-982c207b13edd834c9dcd0edd1ccb60414cf1cd0.tar.bz2 webtrees-982c207b13edd834c9dcd0edd1ccb60414cf1cd0.zip | |
Remove old/dead code
| -rw-r--r-- | app/Http/Controllers/EditGedcomRecordController.php | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/app/Http/Controllers/EditGedcomRecordController.php b/app/Http/Controllers/EditGedcomRecordController.php index 768cd28f42..2a0e523167 100644 --- a/app/Http/Controllers/EditGedcomRecordController.php +++ b/app/Http/Controllers/EditGedcomRecordController.php @@ -404,20 +404,6 @@ class EditGedcomRecordController extends AbstractEditController } } - // @TODO - is $NOTE used? The original code made it global, so need to check - if (isset($_POST['NOTE'])) { - $NOTE = $_POST['NOTE']; - } - - // @TODO - is $title used? The original code made it global, so need to check - if (!empty($NOTE)) { - $tempnote = preg_split('/\r?\n/', trim($NOTE) . "\n"); // make sure only one line ending on the end - $title[] = '0 @' . $xref . '@ NOTE ' . array_shift($tempnote); - foreach ($tempnote as &$line) { - $line = trim('1 CONT ' . $line, ' '); - } - } - $newged = $this->handleUpdates($newged); // Add new names after existing names |
