protected function onAfterCopy($oid) { // Let's unpublish the new copied item $this->publish(null, -1); return parent::onAfterCopy($oid); }
protected function onAfterCopy($oid) { // Let's unpublish the new copied item $this->publish(null, -1); return parent::onAfterCopy($oid); }