Replace deprecated System::baseURL with App->getBaseUrl in Module\Profile
This commit is contained in:
		
					parent
					
						
							
								da710999e0
							
						
					
				
			
			
				commit
				
					
						d51b9226a6
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -65,7 +65,7 @@ class Profile extends BaseModule
 | 
			
		|||
				// Known deleted user
 | 
			
		||||
				$data = [
 | 
			
		||||
					'@context' => ActivityPub::CONTEXT,
 | 
			
		||||
					'id' => System::baseUrl() . '/profile/' . self::$which,
 | 
			
		||||
					'id' => self::getApp()->getBaseUrl() . '/profile/' . self::$which,
 | 
			
		||||
					'type' => 'Tombstone',
 | 
			
		||||
					'published' => DateTimeFormat::utcNow(DateTimeFormat::ATOM),
 | 
			
		||||
					'updated' => DateTimeFormat::utcNow(DateTimeFormat::ATOM),
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue