# HG changeset patch # User Mads Kiilerich # Date 1602431238 -7200 # Node ID 3ccb302bb55156e13a536590eb7d415135549af5 # Parent 2d4bea1c789891e7231b9048ba14ec79f741f829 admin: drop dead comments diff -r 2d4bea1c7898 -r 3ccb302bb551 kallithea/controllers/admin/gists.py --- 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 = [ diff -r 2d4bea1c7898 -r 3ccb302bb551 kallithea/controllers/admin/my_account.py --- 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): diff -r 2d4bea1c7898 -r 3ccb302bb551 kallithea/controllers/admin/permissions.py --- 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') diff -r 2d4bea1c7898 -r 3ccb302bb551 kallithea/controllers/admin/repos.py --- 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): diff -r 2d4bea1c7898 -r 3ccb302bb551 kallithea/controllers/admin/settings.py --- 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): diff -r 2d4bea1c7898 -r 3ccb302bb551 kallithea/controllers/admin/user_groups.py --- 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): diff -r 2d4bea1c7898 -r 3ccb302bb551 kallithea/controllers/admin/users.py --- 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')