Version 4.7.13
This commit is contained in:
1 parent
fd22d99e69
commit
7124a02564
954 files changed
+29277
-59308
No files matched your search
@@ -170,7 +170,7 @@ trait Reactable
|
||||
{
|
||||
\IPS\Redis::i()->zIncrBy( 'trending', time() * 0.4, \get_class( $item ) .'__' . $itemId );
|
||||
}
|
||||
catch( \RedisException $e ) {}
|
||||
catch( \BadMethodCallException | \RedisException $e ) {}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -270,6 +270,7 @@ trait Reactable
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
/* Cannot react to guest content */
|
||||
if ( !$owner->member_id )
|
||||
{
|
||||
return FALSE;
|
||||
@@ -293,6 +294,12 @@ trait Reactable
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
/* Unacknowledged warnings */
|
||||
if ( $member->members_bitoptions['unacknowledged_warnings'] )
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
/* Still here? All good. */
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user