Skip to content
This repository has been archived by the owner on Apr 8, 2022. It is now read-only.

Commit

Permalink
Merge branch 'MDL-35995-master' of git://github.com/xow/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
danpoltawski committed Mar 3, 2015
2 parents ebb1818 + e562a24 commit 3d25edb
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions mod/glossary/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -736,11 +736,6 @@ function glossary_rating_validate($params) {
throw new rating_exception('invalidnum');
}

if (!$info->approved) {
//item isnt approved
throw new rating_exception('nopermissiontorate');
}

//check the item we're rating was created in the assessable time window
if (!empty($info->assesstimestart) && !empty($info->assesstimefinish)) {
if ($info->timecreated < $info->assesstimestart || $info->timecreated > $info->assesstimefinish) {
Expand Down

0 comments on commit 3d25edb

Please sign in to comment.