mirror of
https://github.com/spl0k/supysonic.git
synced 2024-12-22 17:06:17 +00:00
Deleted /resetdb which was no longer usable the way it was meant to
This commit is contained in:
parent
6b2a5f5cec
commit
f5f1382c44
6
web.py
6
web.py
@ -51,12 +51,6 @@ def index():
|
|||||||
}
|
}
|
||||||
return render_template('home.html', stats = stats, admin = UserManager.get(session.get('userid'))[1].admin)
|
return render_template('home.html', stats = stats, admin = UserManager.get(session.get('userid'))[1].admin)
|
||||||
|
|
||||||
@app.route('/resetdb')
|
|
||||||
def reset_db():
|
|
||||||
if UserManager.get(session.get('userid'))[1].admin:
|
|
||||||
db.recreate_db()
|
|
||||||
return redirect(url_for('index'))
|
|
||||||
|
|
||||||
import user
|
import user
|
||||||
import folder
|
import folder
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user