mirror of
				https://github.com/librenms/librenms.git
				synced 2024-10-07 16:52:45 +00:00 
			
		
		
		
	* Delete ports via eloquent event Chunk delete during purge all operations so we don't use too much memory. * protect against missing device * fix whitespace * fetch less from the database when deleting a device's ports fix output
		
			
				
	
	
		
			11 lines
		
	
	
		
			193 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			193 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| 
 | |
| namespace App\Models;
 | |
| 
 | |
| class PortStatistic extends PortRelatedModel
 | |
| {
 | |
|     protected $table = 'ports_statistics';
 | |
|     protected $primaryKey = 'port_id';
 | |
|     public $timestamps = false;
 | |
| }
 |