feature/update-to-php81 #29
@ -86,12 +86,12 @@ class DatabaseSessionHandler implements ISessionHandler
 | 
				
			|||||||
        return true;
 | 
					        return true;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    public function gc($maxlifetime): bool
 | 
					    public function gc($maxlifetime): int|false
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
        // empty on purpose
 | 
					        // empty on purpose
 | 
				
			||||||
        // old sessions are deleted by MaintainDatabaseCommand
 | 
					        // old sessions are deleted by MaintainDatabaseCommand
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        return true;
 | 
					        return 1;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    public function create_sid(): string
 | 
					    public function create_sid(): string
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user