diff options
| author | MaZderMind | 2016-12-10 18:22:34 +0100 |
|---|---|---|
| committer | MaZderMind | 2016-12-10 18:22:34 +0100 |
| commit | f6c0270d40f6730fe1e1820f2866b08792df1db6 (patch) | |
| tree | f0da1effc9f55f2f75dc57fe1ba17419d559b45b /view/feedback-read.php | |
| parent | b227ac0ee80f6de300fed10a34e7393847227cfc (diff) | |
rewrite data-model so that every configuration option is accessed through the conference
Diffstat (limited to 'view/feedback-read.php')
| -rw-r--r-- | view/feedback-read.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/view/feedback-read.php b/view/feedback-read.php index 4f04a02..3c29dbd 100644 --- a/view/feedback-read.php +++ b/view/feedback-read.php @@ -1,9 +1,6 @@ <?php -$feedback = new Feedback(); -if(!$feedback->isEnabled()) - throw new NotFoundException('Feedback is disabled'); - +$feedback = $conference->getFeedback(); if(!$feedback->isLoggedIn()) { $feedback->requestLogin(); |
