Removed duplicated attributes
authorThierry Florac <thierry.florac@onf.fr>
Tue, 14 Apr 2015 16:33:31 +0200
changeset 30 6744fc0a44c3
parent 29 9c4800c8cdcf
child 31 862bed30e85b
Removed duplicated attributes
src/pyams_security/zmi/plugin/social.py
--- a/src/pyams_security/zmi/plugin/social.py	Wed Apr 01 10:42:04 2015 +0200
+++ b/src/pyams_security/zmi/plugin/social.py	Tue Apr 14 16:33:31 2015 +0200
@@ -334,14 +334,9 @@
 class SecurityManagerSocialProvidersTrashColumn(TrashColumn):
     """Security manager plugins trash column"""
 
-    icon_class = 'fa fa-fw fa-trash'
     icon_hint = _("Delete provider")
-    weight = 100
     permission = 'system.manage'
 
-    def get_url(self, item):
-        return self.url
-
 
 @adapter_config(context=(ISite, IAdminLayer, SecurityManagerSocialProvidersTable), provides=IValues)
 class SecurityManagerSocialProvidersValuesAdapter(ContextRequestViewAdapter):