From: <de...@de...> - 2011-03-07 06:28:02
|
Author: PeterThoeny Date: 2011-03-07 00:27:55 -0600 (Mon, 07 Mar 2011) New Revision: 20631 Trac url: http://develop.twiki.org/trac/changeset/20631 Modified: twiki/branches/TWikiRelease05x00/EmptyPlugin/lib/TWiki/Plugins/EmptyPlugin.pm Log: Item6656: Oops, removing meta parameter, this is only in trunk, not in 5.0 branch Modified: twiki/branches/TWikiRelease05x00/EmptyPlugin/lib/TWiki/Plugins/EmptyPlugin.pm =================================================================== --- twiki/branches/TWikiRelease05x00/EmptyPlugin/lib/TWiki/Plugins/EmptyPlugin.pm 2011-03-07 06:25:17 UTC (rev 20630) +++ twiki/branches/TWikiRelease05x00/EmptyPlugin/lib/TWiki/Plugins/EmptyPlugin.pm 2011-03-07 06:27:55 UTC (rev 20631) @@ -554,11 +554,10 @@ =pod ----++ beforeAttachmentSaveHandler(\%attrHash, $topic, $web, $meta ) +---++ beforeAttachmentSaveHandler(\%attrHash, $topic, $web ) * =\%attrHash= - reference to hash of attachment attribute values * =$topic= - the name of the topic in the current CGI query * =$web= - the name of the web in the current CGI query - * =$meta= - meta-data object for the topic This handler is called once when an attachment is uploaded. When this handler is called, the attachment has *not* been recorded in the database. @@ -580,12 +579,11 @@ =pod ----++ afterAttachmentSaveHandler(\%attrHash, $topic, $web, $error, $meta ) +---++ afterAttachmentSaveHandler(\%attrHash, $topic, $web, $error ) * =\%attrHash= - reference to hash of attachment attribute values * =$topic= - the name of the topic in the current CGI query * =$web= - the name of the web in the current CGI query * =$error= - any error string generated during the save process - * =$meta= - meta-data object for the topic This handler is called just after the save action. The attributes hash will include at least the following attributes: * =attachment= => the attachment name |