Déplacement pour eggification.
[Plinn.git] / skins / generic / havePendingContents.py
diff --git a/skins/generic/havePendingContents.py b/skins/generic/havePendingContents.py
deleted file mode 100644 (file)
index 3d58673..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-##parameters=
-ctool = context.portal_catalog
-checkPerm = context.portal_membership.checkPermission
-from Products.CMFCore.permissions import ReviewPortalContent
-for s in ['pending'] : # other states can be added
-       for b in ctool(review_state=s) :
-               if checkPerm(ReviewPortalContent, b.getObject()) :
-                       return True
-return False
\ No newline at end of file