Skip to content
Snippets Groups Projects
Unverified Commit ce7f88fa authored by Peter Rotich's avatar Peter Rotich Committed by GitHub
Browse files

Merge pull request #4415 from aydreeihn/issue/team-isreferred

Team Referral Check
parents 79d8422c 92844554
No related branches found
No related tags found
No related merge requests found
......@@ -301,6 +301,11 @@ implements Searchable {
return false;
break;
case $to instanceof Team:
//Referred to a Team
return ($this->getReferral($to->getId(),
ObjectModel::OBJECT_TYPE_TEAM));
break;
case $to instanceof Dept:
// Refered to the dept
return ($this->getReferral($to->getId(),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment