Commit 658fbdf0 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Require activity.php before calling activity_get_viewaccess_users()

parent 0cc48be6
......@@ -310,6 +310,7 @@ class View {
public function set_access($accessdata) {
global $USER;
require_once(get_config('libroot') . 'activity.php');
// For users who are being removed from having access to this view, they
// need to have the view and any attached artefacts removed from their
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment