aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Michel Vedrine <vedrine@vedrine.org>2018-01-29 15:31:00 +0100
committerJean-Michel Vedrine <vedrine@vedrine.org>2018-01-29 15:31:00 +0100
commit70f3702b5d5addcd029488d5194e8d6855c1a45f (patch)
treee3eb33319c0ca177776aa10f8245f7209275bf40
parent54a193aa5cdeb2aa01778a5d39db019fcf51c31d (diff)
suppress require_login from parser
-rw-r--r--parser.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/parser.php b/parser.php
index 414ca1b..f86771b 100644
--- a/parser.php
+++ b/parser.php
@@ -23,8 +23,6 @@ defined('MOODLE_INTERNAL') || die();
require_once(__DIR__.'/../../../config.php');
-require_login();
-
/**
* Helper function which will compare two strings using their length only.
*
@@ -50,7 +48,6 @@ function qtype_algebra_parser_strlen_sort($a, $b) {
return ($alen > $blen) ? -1 : +1;
}
-
/**
* Class which represents a single term in an algebraic expression.
*