kopia lustrzana https://github.com/nextcloud/social
				
				
				
			Update CacheActorsRequest.php
Signed-off-by: emersonkfuri <emersonkfuri@gmail.com>pull/344/head
							rodzic
							
								
									15ca69a6d0
								
							
						
					
					
						commit
						1713559ec9
					
				| 
						 | 
				
			
			@ -220,9 +220,6 @@ class CacheActorsRequest extends CacheActorsRequestBuilder {
 | 
			
		|||
	 */
 | 
			
		||||
	public function getFromLocalAccount(string $account): Person {
 | 
			
		||||
		$qb = $this->getCacheActorsSelectSql();
 | 
			
		||||
		if (strrpos($account, '@')) {
 | 
			
		||||
			$account = substr($account, 0, strrpos($account, '@'));
 | 
			
		||||
		}
 | 
			
		||||
		$this->limitToPreferredUsername($qb, $account);
 | 
			
		||||
		$this->limitToLocal($qb, true);
 | 
			
		||||
		$this->leftJoinCacheDocuments($qb, 'icon_id');
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Ładowanie…
	
		Reference in New Issue