Permalink
Browse files

MDL-35476 Assignment: Make submissions_open public so it can be used …

…by plugins
  • Loading branch information...
1 parent 22fc0c5 commit 50f3d7b5eaf043bb75c2032af6be301406e2226b @damyon damyon committed with danpoltawski Nov 28, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/assign/locallib.php
View
@@ -3049,7 +3049,7 @@ private function update_submission(stdClass $submission, $userid, $updatetime, $
* @param int $userid - Optional userid so we can see if a different user can submit
* @return bool
*/
- private function submissions_open($userid = 0) {
+ public function submissions_open($userid = 0) {
global $USER;
if (!$userid) {

0 comments on commit 50f3d7b

Please sign in to comment.