Skip to content

Commit de1a0dd

Browse files
committed
phan and unused variables
1 parent 146751b commit de1a0dd

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

modules/new_profile/php/new_profile.class.inc

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
<?php declare(strict_types=1);
22
namespace LORIS\new_profile;
33

4-
use LORIS\StudyEntities\Candidate\Sex;
5-
6-
use \Psr\Http\Message\ServerRequestInterface;
7-
use \Psr\Http\Message\ResponseInterface;
8-
94
/**
105
* New_profile module. This class handles the creation of new candidates from
116
* the front-end of LORIS.
@@ -15,9 +10,6 @@ use \Psr\Http\Message\ResponseInterface;
1510
class New_Profile extends \NDB_Form
1611
{
1712
public $skipTemplate = true;
18-
private $_candID;
19-
private $_pscid;
20-
private $_error;
2113

2214
/**
2315
* Determines whether a user can access the page. The access to tied to
@@ -91,8 +83,6 @@ class New_Profile extends \NDB_Form
9183
'site' => $site,
9284
'project' => $project,
9385
];
94-
95-
$this->form->addFormRule([&$this, '_validateNewCandidate']);
9686
}
9787

9888
/**

0 commit comments

Comments
 (0)