Fix warning about unused local variable
authorMatthias Schmidt <gravatronics@live.com>
Thu, 26 May 2016 14:02:14 +0000 (16:02 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Thu, 26 May 2016 14:27:35 +0000 (16:27 +0200)
files/lib/data/conversation/ConversationAction.class.php

index 66af74538bc6cece45fec89861451e69a10b0ff9..47f766b6064e7f8e29c1f5055db622986a7cf350 100644 (file)
@@ -761,7 +761,6 @@ class ConversationAction extends AbstractDatabaseObjectAction implements IClipbo
                $successMessage = '';
                if (!empty($participantIDs)) {
                        // check for already added participants
-                       $data = [];
                        if ($this->conversation->isDraft) {
                                $draftData = unserialize($this->conversation->draftData);
                                $draftData['participants'] = array_merge($draftData['participants'], $participantIDs);