kopia lustrzana https://github.com/nextcloud/social
				
				
				
			some renaming
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>pull/691/head
							rodzic
							
								
									5990c58c9c
								
							
						
					
					
						commit
						48e013cb98
					
				| 
						 | 
					@ -301,13 +301,12 @@ class CacheActorsRequest extends CacheActorsRequestBuilder {
 | 
				
			||||||
	 *
 | 
						 *
 | 
				
			||||||
	 * @param string $id
 | 
						 * @param string $id
 | 
				
			||||||
	 */
 | 
						 */
 | 
				
			||||||
	public function deleteFromId(string $id) {
 | 
						public function deleteCacheById(string $id) {
 | 
				
			||||||
		$qb = $this->getCacheActorsDeleteSql();
 | 
							$qb = $this->getCacheActorsDeleteSql();
 | 
				
			||||||
		$this->limitToIdString($qb, $id);
 | 
							$this->limitToIdString($qb, $id);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		$qb->execute();
 | 
							$qb->execute();
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -185,7 +185,7 @@ class PersonInterface implements IActivityPubInterface {
 | 
				
			||||||
	 */
 | 
						 */
 | 
				
			||||||
	public function delete(ACore $item) {
 | 
						public function delete(ACore $item) {
 | 
				
			||||||
		/** @var Person $item */
 | 
							/** @var Person $item */
 | 
				
			||||||
		$this->cacheActorsRequest->deleteFromId($item->getId());
 | 
							$this->cacheActorsRequest->deleteCacheById($item->getId());
 | 
				
			||||||
		$this->streamRequest->deleteByAuthor($item->getId());
 | 
							$this->streamRequest->deleteByAuthor($item->getId());
 | 
				
			||||||
		$this->followsRequest->deleteRelatedId($item->getId());
 | 
							$this->followsRequest->deleteRelatedId($item->getId());
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Ładowanie…
	
		Reference in New Issue