diff options
author | splitt3r <splitt3r@users.noreply.github.com> | 2017-10-10 20:47:54 +0300 |
---|---|---|
committer | splitt3r <splitt3r@users.noreply.github.com> | 2017-10-10 20:47:54 +0300 |
commit | 3e4a02f028531ff11851115fb85628bd6911d71c (patch) | |
tree | 5de235823535801910a556fae186bbeff3c83410 /lib | |
parent | 7e92bfcefac8ffbedc48e55c74e2f03b1379a3b1 (diff) |
Fixed fr translations + fixed email translations + fixed login url
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Controller/PageController.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/Controller/PageController.php b/lib/Controller/PageController.php index 77641996..15b31054 100644 --- a/lib/Controller/PageController.php +++ b/lib/Controller/PageController.php @@ -189,9 +189,9 @@ class PageController extends Controller { $msg .= "<br/><br/>"; $toName = $this->userMgr->get($notification->getUserId())->getDisplayName(); - $subject = $this->trans->t('ownCloud Polls - New Comment'); + $subject = $this->trans->t('Polls App - New Comment'); $fromAddress = Util::getDefaultEmailAddress('no-reply'); - $fromName = $this->trans->t("ownCloud Polls") . ' (' . $from . ')'; + $fromName = $this->trans->t("Polls App") . ' (' . $from . ')'; try { $mailer = \OC::$server->getMailer(); @@ -495,13 +495,13 @@ class PageController extends Controller { * @param $userId * @param $types * @param $dates - * @param $notIf + * @param $receiveNotifications * @param $changed * @return RedirectResponse */ - public function insertVote($pollId, $userId, $types, $dates, $notIf, $changed) { + public function insertVote($pollId, $userId, $types, $dates, $receiveNotifications, $changed) { if ($this->userId !== null) { - if ($notIf === 'true') { + if ($receiveNotifications === 'true') { try { //check if user already set notification for this poll $this->notificationMapper->findByUserAndPoll($pollId, $userId); |