entities/schemaobjs.py
branchstable
changeset 7780 a1d5365fefc1
parent 7370 96923d75610b
child 7782 40a49f4350a5
--- a/entities/schemaobjs.py	Tue Sep 13 14:41:53 2011 +0200
+++ b/entities/schemaobjs.py	Tue Sep 13 14:48:24 2011 +0200
@@ -176,13 +176,3 @@
 
     def check_expression(self, *args, **kwargs):
         return self._rqlexpr().check(*args, **kwargs)
-
-
-class CWPermission(AnyEntity):
-    __regid__ = 'CWPermission'
-    fetch_attrs, fetch_order = fetch_config(['name', 'label'])
-
-    def dc_title(self):
-        if self.label:
-            return '%s (%s)' % (self._cw._(self.name), self.label)
-        return self._cw._(self.name)