Split goaway to System::externalRedirectTo() and App->internalRedirect()
This commit is contained in:
		
					parent
					
						
							
								2ef81108b3
							
						
					
				
			
			
				commit
				
					
						d00ddc01af
					
				
			
		
					 61 changed files with 286 additions and 266 deletions
				
			
		| 
						 | 
				
			
			@ -119,7 +119,7 @@ function manage_post(App $a) {
 | 
			
		|||
	$ret = [];
 | 
			
		||||
	Addon::callHooks('home_init',$ret);
 | 
			
		||||
 | 
			
		||||
	$a->redirect('profile/' . $a->user['nickname'] );
 | 
			
		||||
	$a->internalRedirect('profile/' . $a->user['nickname'] );
 | 
			
		||||
	// NOTREACHED
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue