make tvshow navlink and pages and backend disableable with a command line parameter
This commit is contained in:
		
							
								
								
									
										11
									
								
								apiGo/database/settings/Settings.go
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								apiGo/database/settings/Settings.go
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,11 @@
 | 
			
		||||
package settings
 | 
			
		||||
 | 
			
		||||
var tvShowEnabled bool
 | 
			
		||||
 | 
			
		||||
func TVShowsEnabled() bool {
 | 
			
		||||
	return tvShowEnabled
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func SetTVShowEnabled(enabled bool) {
 | 
			
		||||
	tvShowEnabled = enabled
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user