Rename App Methods
- renamed a lot of App methods to CamelCase - replaced direct public variables with get-/set-Methods
This commit is contained in:
		
					parent
					
						
							
								5f9dd11cfb
							
						
					
				
			
			
				commit
				
					
						5a02e39a65
					
				
			
		
					 94 changed files with 481 additions and 338 deletions
				
			
		| 
						 | 
				
			
			@ -112,7 +112,7 @@ class Delivery extends BaseObject
 | 
			
		|||
			// if $parent['wall'] == 1 we will already have the parent message in our array
 | 
			
		||||
			// and we will relay the whole lot.
 | 
			
		||||
 | 
			
		||||
			$localhost = self::getApp()->get_hostname();
 | 
			
		||||
			$localhost = self::getApp()->getHostName();
 | 
			
		||||
			if (strpos($localhost, ':')) {
 | 
			
		||||
				$localhost = substr($localhost, 0, strpos($localhost, ':'));
 | 
			
		||||
			}
 | 
			
		||||
| 
						 | 
				
			
			@ -435,7 +435,7 @@ class Delivery extends BaseObject
 | 
			
		|||
				$headers  = 'From: ' . Email::encodeHeader($local_user['username'],'UTF-8').' <' . $local_user['email'] . '>' . "\n";
 | 
			
		||||
			}
 | 
			
		||||
		} else {
 | 
			
		||||
			$headers  = 'From: '. Email::encodeHeader($local_user['username'], 'UTF-8') . ' <noreply@' . self::getApp()->get_hostname() . '>' . "\n";
 | 
			
		||||
			$headers  = 'From: '. Email::encodeHeader($local_user['username'], 'UTF-8') . ' <noreply@' . self::getApp()->getHostName() . '>' . "\n";
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		$headers .= 'Message-Id: <' . Email::iri2msgid($target_item['uri']) . '>' . "\n";
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue