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:
@@ -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']);
|
||||
|
Reference in New Issue
Block a user