diff options
| author | Finn Schneider <schneider@data-quest.de> | 2026-03-17 15:07:03 +0100 |
|---|---|---|
| committer | Finn Schneider <schneider@data-quest.de> | 2026-03-17 15:07:03 +0100 |
| commit | 4ad57b38335daea07cfc6c67219f9a2caf18e9ec (patch) | |
| tree | 1608925e3cca4cc426a8c859495bbfe914a4329d /lib/models/QuestionnaireEvalCentralProfile.php | |
| parent | 7ff92562d33b02728e9933adbaa4840fdbfcb15b (diff) | |
profiles always editable
Diffstat (limited to 'lib/models/QuestionnaireEvalCentralProfile.php')
| -rw-r--r-- | lib/models/QuestionnaireEvalCentralProfile.php | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/models/QuestionnaireEvalCentralProfile.php b/lib/models/QuestionnaireEvalCentralProfile.php index 6c4a0bb..58615dc 100644 --- a/lib/models/QuestionnaireEvalCentralProfile.php +++ b/lib/models/QuestionnaireEvalCentralProfile.php @@ -46,13 +46,4 @@ class QuestionnaireEvalCentralProfile extends SimpleORMap $is_for ? self::RESULT_VISIBLE_FOR_OPTIONS : self::RESULT_VISIBILITY_OPTIONS ); } - - public function isEditable() - { - if(EvaluationHelper::isPermittedEvaluationAccess()) { - return !QuestionnaireEvalAssignment::countBySQL( - "`startdate` <= UNIX_TIMESTAMP() AND `semester_id` = ?", [$this->semester_id]); - } - return false; - } } |
