Commit 473a309d authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Don't send view access notifications to group members for newly copied group views (bug #627853)

Signed-off-by: default avatarRichard Mansfield <>
parent a2c6bf59
......@@ -341,13 +341,10 @@ class View {
if (isset($viewdata['group'])) {
// By default, group views should be visible to the group
'type' => 'group',
'id' => $viewdata['group'],
'startdate' => null,
'stopdate' => null,
'role' => null
insert_record('view_access', (object) array(
'view' => $view->get('id'),
'group' => $viewdata['group'],
return new View($view->get('id')); // Reread to ensure defaults are set
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