Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/mail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2018-01-15 17:34:59 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2018-01-15 17:34:59 +0300
commit36945915d36c59e39c4436a37f882d0020b08ef3 (patch)
tree88efe35226976b4d7d4321545a739be95087a2c8 /lib/Controller/MessagesController.php
parent2086f8bab27d6372d8a335beb086d0333ada754c (diff)
Remove undefined and unused var
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/Controller/MessagesController.php')
-rwxr-xr-xlib/Controller/MessagesController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Controller/MessagesController.php b/lib/Controller/MessagesController.php
index bb64121fb..0b8a6c1b6 100755
--- a/lib/Controller/MessagesController.php
+++ b/lib/Controller/MessagesController.php
@@ -131,7 +131,7 @@ class MessagesController extends Controller {
}
$messages = $mailBox->getMessages($filter, $cursor);
- $json = array_map(function($j) use ($ci, $mailBox) {
+ $json = array_map(function($j) use ($mailBox) {
if ($mailBox->getSpecialRole() === 'trash') {
$j['delete'] = (string)$this->l10n->t('Delete permanently');
}