Skip to content

Commit

Permalink
hide warning
Browse files Browse the repository at this point in the history
  • Loading branch information
caldwellc1 committed Dec 4, 2018
1 parent 1f64f77 commit 894183a
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions class/DataProvider/Student/WebServiceDataProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -262,11 +262,10 @@ protected function plugValues(&$student, \stdClass $data)
// We're not going to check for every possible campus name; as long as there's *something* there, we'll assume it's distance ed
$student->setCampus(Student::DISTANCE_ED);
} else {
// If the campus isn't set, then defalt to main campus with a warning
// TODO: fix so the message only appears on create.
// If the campus isn't set, then defalt to main campus
$student->setCampus(Student::MAIN_CAMPUS);
\NQ::simple('intern', \Intern\UI\NotifyUI::WARNING, "Campus not found for this student in banner so Main Campus was initially selected.");
\NQ::close();
//\NQ::simple('intern', \Intern\UI\NotifyUI::WARNING, "Campus not found for this student in banner so Main Campus was initially selected.");
//\NQ::close();
}

// Check if level exist, if not add it
Expand Down

0 comments on commit 894183a

Please sign in to comment.