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

github.com/nextcloud/polls.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorsplitt3r <splitt3r@users.noreply.github.com>2017-10-10 20:47:54 +0300
committersplitt3r <splitt3r@users.noreply.github.com>2017-10-10 20:47:54 +0300
commit3e4a02f028531ff11851115fb85628bd6911d71c (patch)
tree5de235823535801910a556fae186bbeff3c83410 /lib
parent7e92bfcefac8ffbedc48e55c74e2f03b1379a3b1 (diff)
Fixed fr translations + fixed email translations + fixed login url
Diffstat (limited to 'lib')
-rw-r--r--lib/Controller/PageController.php10
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);