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
diff options
context:
space:
mode:
authorRené Gieling <github@dartcafe.de>2019-12-30 17:26:35 +0300
committerGitHub <noreply@github.com>2019-12-30 17:26:35 +0300
commit6baabe29e69f68397e3f09d6927f2a67ce1dd828 (patch)
tree9fc5e1f4e88b201dedbcffbc4d8de5b32267a5da /templates
parente46106d69a96bcffd32403d2b65f892ca721379f (diff)
some fixes on the backend side (#699)
* small fixes on the backend side * removed pollService and annotations for scrutinizer * Fix ACL checks * Don't load shares, when user has no edit rights * fix acl * avoid 💣 Database and logging with recursive setting * fix PollController
Diffstat (limited to 'templates')
-rw-r--r--templates/no.acc.tmpl.php4
-rw-r--r--templates/no.create.tmpl.php4
-rw-r--r--templates/no.delete.tmpl.php4
3 files changed, 6 insertions, 6 deletions
diff --git a/templates/no.acc.tmpl.php b/templates/no.acc.tmpl.php
index 9f0fcb24..e2a52c05 100644
--- a/templates/no.acc.tmpl.php
+++ b/templates/no.acc.tmpl.php
@@ -27,9 +27,9 @@
<div id="emptycontent" class="">
<div class="icon-polls"></div>
<h1>
- <?php p($l->t('Access denied')); ?>
+ <?php /** @scrutinizer ignore-call */ p($l->t('Access denied')); ?>
</h1>
<h2>
- <?php p($l->t('You are not allowed to view this poll or the poll does not exist.')); ?>
+ <?php /** @scrutinizer ignore-call */ p($l->t('You are not allowed to view this poll or the poll does not exist.')); ?>
</h2>
</div>
diff --git a/templates/no.create.tmpl.php b/templates/no.create.tmpl.php
index 2bbd880d..59a8f828 100644
--- a/templates/no.create.tmpl.php
+++ b/templates/no.create.tmpl.php
@@ -27,9 +27,9 @@
<div id="emptycontent" class="">
<div class="icon-polls"></div>
<h1>
- <?php p($l->t('Access denied')); ?>
+ <?php /** @scrutinizer ignore-call */ p($l->t('Access denied')); ?>
</h1>
<h2>
- <?php p($l->t('You are not allowed to edit this poll or the poll does not exist.')); ?>
+ <?php /** @scrutinizer ignore-call */ p($l->t('You are not allowed to edit this poll or the poll does not exist.')); ?>
</h2>
</div>
diff --git a/templates/no.delete.tmpl.php b/templates/no.delete.tmpl.php
index 19053dbb..e25b71c2 100644
--- a/templates/no.delete.tmpl.php
+++ b/templates/no.delete.tmpl.php
@@ -27,9 +27,9 @@
<div id="emptycontent" class="">
<div class="icon-polls"></div>
<h1>
- <?php p($l->t('Access denied')); ?>
+ <?php /** @scrutinizer ignore-call */ p($l->t('Access denied')); ?>
</h1>
<h2>
- <?php p($l->t('You are either not allowed to delete this poll or it doesn\'t exist.')); ?>
+ <?php /** @scrutinizer ignore-call */ p($l->t('You are either not allowed to delete this poll or it doesn\'t exist.')); ?>
</h2>
</div>