Commit 42b080b8 authored by Olivia Madrid's avatar Olivia Madrid
Browse files

(feat): Referrals console

parent 42166e72
Loading
Loading
Loading
Loading
+3 −0
Original line number Original line Diff line number Diff line
@@ -93,6 +93,9 @@ class Referral
            'prospect' => $this->prospect ? $this->prospect->export() : null,
            'prospect' => $this->prospect ? $this->prospect->export() : null,
            'state' => $this->getState(),
            'state' => $this->getState(),
            'pingable' => $this->getPingable(),
            'pingable' => $this->getPingable(),
            'register_timestamp' => $this->registerTimestamp * 1000,
            'join_timestamp' => $this->joinTimestamp * 1000,
            'ping_timestamp' => $this->pingTimestamp * 1000
        ];
        ];
    }
    }
}
}
+0 −1
Original line number Original line Diff line number Diff line
@@ -169,7 +169,6 @@ class Join


            // Validate referral and give both prospect and referrer +50 contribution score
            // Validate referral and give both prospect and referrer +50 contribution score
            if ($this->user->referrer && $this->user->guid != $this->user->referrer) {
            if ($this->user->referrer && $this->user->guid != $this->user->referrer) {

                $this->validator->setHash($hash);
                $this->validator->setHash($hash);


                if ($this->validator->validate()) {
                if ($this->validator->validate()) {