forked from friendica/friendica-addons
		
	Mirroring: There was a problem that the title variable wasn't cleared so it could be fetched from a previous post.
Statusnet: The activity messages are now suppressed
This commit is contained in:
		
					parent
					
						
							
								e7f5f0cf20
							
						
					
				
			
			
				commit
				
					
						804bc7a067
					
				
			
		
					 6 changed files with 27 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -43,9 +43,11 @@ function public_server_register_account($a,$b) {
 | 
			
		|||
	);
 | 
			
		||||
 | 
			
		||||
};
 | 
			
		||||
	
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
function public_server_cron($a,$b) {
 | 
			
		||||
	logger("public_server: cron start");
 | 
			
		||||
 | 
			
		||||
	require_once('include/enotify.php');
 | 
			
		||||
	$r = q("select * from user where account_expires_on < UTC_TIMESTAMP() + INTERVAL 5 DAY and account_expires_on > '0000-00-00 00:00:00' and
 | 
			
		||||
		expire_notification_sent = '0000-00-00 00:00:00' ");
 | 
			
		||||
| 
						 | 
				
			
			@ -116,6 +118,7 @@ function public_server_cron($a,$b) {
 | 
			
		|||
		}
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
	logger("public_server: cron end");
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue