Skip to content

Commit

Permalink
phan and unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
driusan committed Oct 29, 2021
1 parent 2f5c551 commit f0738b2
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions modules/new_profile/php/new_profile.class.inc
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
<?php declare(strict_types=1);
namespace LORIS\new_profile;

use LORIS\StudyEntities\Candidate\Sex;

use \Psr\Http\Message\ServerRequestInterface;
use \Psr\Http\Message\ResponseInterface;

/**
* New_profile module. This class handles the creation of new candidates from
* the front-end of LORIS.
Expand All @@ -15,9 +10,6 @@ use \Psr\Http\Message\ResponseInterface;
class New_Profile extends \NDB_Form
{
public $skipTemplate = true;
private $_candID;
private $_pscid;
private $_error;

/**
* Determines whether a user can access the page. The access to tied to
Expand Down Expand Up @@ -91,8 +83,6 @@ class New_Profile extends \NDB_Form
'site' => $site,
'project' => $project,
];

$this->form->addFormRule([&$this, '_validateNewCandidate']);
}

/**
Expand Down

0 comments on commit f0738b2

Please # to comment.