1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-11 17:14:42 +02:00

Private Messaging - VIP Class feature added.

This commit is contained in:
Cameron
2016-05-05 19:20:17 -07:00
parent 1e44928e1f
commit a8f658283f
3 changed files with 14 additions and 2 deletions

View File

@@ -676,6 +676,15 @@ class private_message
return false;
}
if(!empty($this->pmPrefs['vip_class']))
{
if(check_class($this->pmPrefs['vip_class'],null,$uid) && !check_class($this->pmPrefs['vip_class']))
{
return false;
}
}
$user = e107::user($uid);
$uclass = explode(",", $user['user_class']);