[RSS Feed/News] Watch limitation for own resources no longer applies

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
Currently it is not possible to watch own resources. The code suggests, that this is a leftover limitation from before resource teams existed:
PHP:

Code:
public function canWatch(&$error = null)
{
   $visitor = \XF::visitor();

   // don't let authors watch as all updates will be attributed to them anyway
   return (
      $visitor->user_id
      && $visitor->user_id != $this->user_id
   );
}

Now that other users can upload updates for your resources, you can have a legitimate interest in...

Read more

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom