Skip to content

Commit 0cc72dd

Browse files
committed
Delete unused classes
1 parent 9c67847 commit 0cc72dd

File tree

12 files changed

+1
-424
lines changed

12 files changed

+1
-424
lines changed

app/__init__.py

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -29,24 +29,11 @@
2929

3030

3131
#Load modules
32-
from app.mod_auth.controllers import mod_auth as auth_module
33-
from app.mod_winners.controllers import mod_winner as winner_module
3432
from app.mod_photos.controllers import mod_photos as photos_module
3533

36-
app.register_blueprint(auth_module)
37-
app.register_blueprint(winner_module)
3834
app.register_blueprint(photos_module)
3935

4036

41-
#Login functions
42-
#Add more module if it is necessary
43-
from app.mod_auth.models import User
44-
45-
@login_manager.user_loader
46-
def load_user(user_id):
47-
return User.get(user_id)
48-
49-
5037

5138

5239
#email logger

app/mod_auth/.ycm_extra_conf.py

Lines changed: 0 additions & 193 deletions
This file was deleted.

app/mod_auth/__init__.py

Whitespace-only changes.

app/mod_auth/controllers.py

Lines changed: 0 additions & 47 deletions
This file was deleted.

app/mod_auth/forms.py

Lines changed: 0 additions & 15 deletions
This file was deleted.

app/mod_auth/models.py

Lines changed: 0 additions & 43 deletions
This file was deleted.

app/mod_auth/tests.py

Lines changed: 0 additions & 56 deletions
This file was deleted.

app/mod_winners/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)