summaryrefslogtreecommitdiff
path: root/includes/pages/admin_questions.php
diff options
context:
space:
mode:
authormsquare <msquare@notrademark.de>2016-08-21 18:00:24 +0200
committermsquare <msquare@notrademark.de>2016-08-21 18:00:39 +0200
commit53ad1b5110e22bdbb57960aec7d29b824dda7b5b (patch)
tree5a33544142ecf13e5902ff196d8b8470b5120945 /includes/pages/admin_questions.php
parent29cbd4a9dde440605c5f34d50961fa5208411293 (diff)
fix codacy unused code
Diffstat (limited to 'includes/pages/admin_questions.php')
-rw-r--r--includes/pages/admin_questions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/pages/admin_questions.php b/includes/pages/admin_questions.php
index e2fef880..6154cd6e 100644
--- a/includes/pages/admin_questions.php
+++ b/includes/pages/admin_questions.php
@@ -4,7 +4,7 @@ function admin_questions_title() {
}
function admin_new_questions() {
- global $user, $privileges;
+ global $privileges;
if (in_array("admin_questions", $privileges)) {
$new_messages = sql_num_query("SELECT * FROM `Questions` WHERE `AID` IS NULL");