chore: Remove commented out code for sending internal notification
This commit is contained in:
		@@ -18,7 +18,7 @@ class CleanupUnreachableServers extends Command
 | 
				
			|||||||
        if ($servers->count() > 0) {
 | 
					        if ($servers->count() > 0) {
 | 
				
			||||||
            foreach ($servers as $server) {
 | 
					            foreach ($servers as $server) {
 | 
				
			||||||
                echo "Cleanup unreachable server ($server->id) with name $server->name";
 | 
					                echo "Cleanup unreachable server ($server->id) with name $server->name";
 | 
				
			||||||
                send_internal_notification("Server $server->name is unreachable for 7 days. Cleaning up...");
 | 
					                // send_internal_notification("Server $server->name is unreachable for 7 days. Cleaning up...");
 | 
				
			||||||
                $server->update([
 | 
					                $server->update([
 | 
				
			||||||
                    'ip' => '1.2.3.4',
 | 
					                    'ip' => '1.2.3.4',
 | 
				
			||||||
                ]);
 | 
					                ]);
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user