eggification
[PlinnDocument.git] / Products / PlinnDocument / skins / static / gitweb.css
diff --git a/skins/plinndocument_edit_control.py b/skins/plinndocument_edit_control.py
deleted file mode 100644 (file)
index a2e55b6..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-## Script (Python) "plinndocument_edit"
-##parameters=text='', file='', SafetyBelt='', **kw
-##title=Edit a document
-##
-
-from Products.CMFDefault.exceptions import EditingConflict, ResourceLockedError
-
-if text != context.text :
-       try:
-               context.edit( 'html', text, file, safety_belt = SafetyBelt)
-               return context.setStatus(True, 'Document changed.')
-       except (ResourceLockedError, EditingConflict), msg:
-               return context.setStatus(False, msg)
-else :
-       return context.setStatus(False, 'Nothing to change.')