Déplacement pour eggification.
[Plinn.git] / skins / generic / hasWfActions.py
diff --git a/skins/generic/hasWfActions.py b/skins/generic/hasWfActions.py
deleted file mode 100644 (file)
index 10bd7ab..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-##parameters=ob=None
-
-if ob is None :
-       ob = context
-wtool = context.portal_workflow
-objectActions = filter(lambda a : a.has_key('id'), wtool.getActionsFor(ob))
-
-if not wtool.getInfoFor(ob,'review_state','') == 'published' and  not objectActions :
-       return True
-else :
-       return False
\ No newline at end of file