mirror of
				https://github.com/pelican-dev/panel.git
				synced 2025-10-31 03:36:51 +01:00 
			
		
		
		
	 77fd54fdc2
			
		
	
	
		77fd54fdc2
		
			
		
	
	
	
	
		
			
			* Use handle instead of toggle & use const isnstead of string * Avoid rollback if node is unreachable * Use Enum & remove default action * Remove useless test
		
			
				
	
	
		
			10 lines
		
	
	
		
			124 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			124 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| 
 | |
| namespace App\Enums;
 | |
| 
 | |
| enum SuspendAction: string
 | |
| {
 | |
|     case Suspend = 'suspend';
 | |
|     case Unsuspend = 'unsuspend';
 | |
| }
 |