From 3eed377b3692ecbb822a3001493ce28e9a023daa Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Wed, 9 Jan 2013 22:36:01 +0100 Subject: [PATCH] Reinserts comments --- .../system/clipboard/action/AbstractClipboardAction.class.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wcfsetup/install/files/lib/system/clipboard/action/AbstractClipboardAction.class.php b/wcfsetup/install/files/lib/system/clipboard/action/AbstractClipboardAction.class.php index 0190301e48..ab8765f0d4 100644 --- a/wcfsetup/install/files/lib/system/clipboard/action/AbstractClipboardAction.class.php +++ b/wcfsetup/install/files/lib/system/clipboard/action/AbstractClipboardAction.class.php @@ -45,11 +45,14 @@ abstract class AbstractClipboardAction implements IClipboardAction { $item = new ClipboardEditorItem(); $item->setName($this->getTypeName().'.'.$actionName); + + // set action class-related data if (in_array($actionName, $this->actionClassActions)) { $item->addParameter('actionName', $actionName); $item->addParameter('className', $this->getClassName()); } + // validate objects if relevant method exists and set valid object ids $methodName = 'validate'.ucfirst($actionName); if (method_exists($this, $methodName)) { $objectIDs = $this->$methodName(); -- 2.20.1