mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-10 15:32:38 -07:00
Remove update section ids
This commit is contained in:
parent
3c22496ea2
commit
a9e24bc0c5
2 changed files with 1 additions and 29 deletions
|
@ -389,11 +389,7 @@ class WebInterface(object):
|
|||
@cherrypy.expose
|
||||
@requireAuth()
|
||||
def libraries(self, **kwargs):
|
||||
config = {
|
||||
"update_section_ids": plexpy.CONFIG.UPDATE_SECTION_IDS
|
||||
}
|
||||
|
||||
return serve_template(templatename="libraries.html", title="Libraries", config=config)
|
||||
return serve_template(templatename="libraries.html", title="Libraries")
|
||||
|
||||
@cherrypy.expose
|
||||
@cherrypy.tools.json_out()
|
||||
|
@ -995,19 +991,6 @@ class WebInterface(object):
|
|||
else:
|
||||
return {'message': 'no data received'}
|
||||
|
||||
@cherrypy.expose
|
||||
@requireAuth(member_of("admin"))
|
||||
def update_section_ids(self, **kwargs):
|
||||
|
||||
logger.debug(u"Manual database section_id update called.")
|
||||
|
||||
result = libraries.update_section_ids()
|
||||
|
||||
if result:
|
||||
return "Updated all section_id's in database."
|
||||
else:
|
||||
return "Unable to update section_id's in database. See logs for details."
|
||||
|
||||
@cherrypy.expose
|
||||
@cherrypy.tools.json_out()
|
||||
@requireAuth(member_of("admin"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue