whoGets() method for Notice
This commit is contained in:
		@@ -830,7 +830,7 @@ class Notice extends Memcached_DataObject
 | 
			
		||||
        return $ids;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    function addToInboxes()
 | 
			
		||||
    function whoGets()
 | 
			
		||||
    {
 | 
			
		||||
        $users = $this->getSubscribedUsers();
 | 
			
		||||
 | 
			
		||||
@@ -871,6 +871,13 @@ class Notice extends Memcached_DataObject
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        return $ni;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    function addToInboxes()
 | 
			
		||||
    {
 | 
			
		||||
        $ni = $this->whoGets();
 | 
			
		||||
 | 
			
		||||
        Inbox::bulkInsert($this->id, array_keys($ni));
 | 
			
		||||
 | 
			
		||||
        return;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user