Commit a5e55ad1 authored by Jim Fulton's avatar Jim Fulton

Made manage_addUserFolder accept and ignore keyword arguments to be

compatible with the new addObject protocol.
parent 128f9306
"""Access control package""" """Access control package"""
__version__='$Revision: 1.16 $'[11:-2] __version__='$Revision: 1.17 $'[11:-2]
import Globals import Globals
from Persistence import Persistent from Persistence import Persistent
...@@ -208,7 +208,7 @@ class UserFolderHandler: ...@@ -208,7 +208,7 @@ class UserFolderHandler:
""" """ """ """
meta_types_=({'name':'User Folder', 'action':'manage_addUserFolder'},) meta_types_=({'name':'User Folder', 'action':'manage_addUserFolder'},)
def manage_addUserFolder(self,dtself,REQUEST): def manage_addUserFolder(self,dtself,REQUEST,**ignored):
""" """ """ """
i=UserFolder() i=UserFolder()
i._init() i._init()
...@@ -245,6 +245,10 @@ class UserFolderHandler: ...@@ -245,6 +245,10 @@ class UserFolderHandler:
# $Log: User.py,v $ # $Log: User.py,v $
# Revision 1.17 1997/11/07 20:57:41 jim
# Made manage_addUserFolder accept and ignore keyword arguments to be
# compatible with the new addObject protocol.
#
# Revision 1.16 1997/11/07 17:33:57 jim # Revision 1.16 1997/11/07 17:33:57 jim
# Renamed meta_types to meta_types_ for new OFS-as-product change. # Renamed meta_types to meta_types_ for new OFS-as-product change.
# #
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment