Mercurial > kallithea
changeset 8673:3ccb302bb551
admin: drop dead comments
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Sun, 11 Oct 2020 17:47:18 +0200 |
parents | 2d4bea1c7898 |
children | 30aac95e7fd5 |
files | kallithea/controllers/admin/gists.py kallithea/controllers/admin/my_account.py kallithea/controllers/admin/permissions.py kallithea/controllers/admin/repos.py kallithea/controllers/admin/settings.py kallithea/controllers/admin/user_groups.py kallithea/controllers/admin/users.py |
diffstat | 7 files changed, 0 insertions(+), 22 deletions(-) [+] |
line wrap: on
line diff
--- a/kallithea/controllers/admin/gists.py Sun Oct 11 00:25:13 2020 +0200 +++ b/kallithea/controllers/admin/gists.py Sun Oct 11 17:47:18 2020 +0200 @@ -52,7 +52,6 @@ class GistsController(BaseController): - """REST Controller styled on the Atom Publishing Protocol""" def __load_defaults(self, extra_values=None): c.lifetime_values = [
--- a/kallithea/controllers/admin/my_account.py Sun Oct 11 00:25:13 2020 +0200 +++ b/kallithea/controllers/admin/my_account.py Sun Oct 11 17:47:18 2020 +0200 @@ -54,11 +54,6 @@ class MyAccountController(BaseController): - """REST Controller styled on the Atom Publishing Protocol""" - # To properly map this controller, ensure your config/routing.py - # file has a resource setup: - # map.resource('setting', 'settings', controller='admin/settings', - # path_prefix='/admin', name_prefix='admin_') @LoginRequired() def _before(self, *args, **kwargs):
--- a/kallithea/controllers/admin/permissions.py Sun Oct 11 00:25:13 2020 +0200 +++ b/kallithea/controllers/admin/permissions.py Sun Oct 11 17:47:18 2020 +0200 @@ -50,10 +50,6 @@ class PermissionsController(BaseController): - """REST Controller styled on the Atom Publishing Protocol""" - # To properly map this controller, ensure your config/routing.py - # file has a resource setup: - # map.resource('permission', 'permissions') @LoginRequired() @HasPermissionAnyDecorator('hg.admin')
--- a/kallithea/controllers/admin/repos.py Sun Oct 11 00:25:13 2020 +0200 +++ b/kallithea/controllers/admin/repos.py Sun Oct 11 17:47:18 2020 +0200 @@ -56,11 +56,6 @@ class ReposController(BaseRepoController): - """ - REST Controller styled on the Atom Publishing Protocol""" - # To properly map this controller, ensure your config/routing.py - # file has a resource setup: - # map.resource('repo', 'repos') @LoginRequired(allow_default_user=True) def _before(self, *args, **kwargs):
--- a/kallithea/controllers/admin/settings.py Sun Oct 11 00:25:13 2020 +0200 +++ b/kallithea/controllers/admin/settings.py Sun Oct 11 17:47:18 2020 +0200 @@ -54,11 +54,6 @@ class SettingsController(BaseController): - """REST Controller styled on the Atom Publishing Protocol""" - # To properly map this controller, ensure your config/routing.py - # file has a resource setup: - # map.resource('setting', 'settings', controller='admin/settings', - # path_prefix='/admin', name_prefix='admin_') @LoginRequired(allow_default_user=True) def _before(self, *args, **kwargs):
--- a/kallithea/controllers/admin/user_groups.py Sun Oct 11 00:25:13 2020 +0200 +++ b/kallithea/controllers/admin/user_groups.py Sun Oct 11 17:47:18 2020 +0200 @@ -55,7 +55,6 @@ class UserGroupsController(BaseController): - """REST Controller styled on the Atom Publishing Protocol""" @LoginRequired(allow_default_user=True) def _before(self, *args, **kwargs):
--- a/kallithea/controllers/admin/users.py Sun Oct 11 00:25:13 2020 +0200 +++ b/kallithea/controllers/admin/users.py Sun Oct 11 17:47:18 2020 +0200 @@ -57,7 +57,6 @@ class UsersController(BaseController): - """REST Controller styled on the Atom Publishing Protocol""" @LoginRequired() @HasPermissionAnyDecorator('hg.admin')