Commit 4661ae54 authored by Nigel McNie's avatar Nigel McNie
Browse files

Make LeapExportElement::get_view_relationship take a view ID instead of a View object.



The only place this is called, only the view ID is available to us. It
doesn't seem that important to pass a View to this method anyway, as it
returns the same string in all circumstances at the moment.
Signed-off-by: default avatarNigel McNie <nigel@catalyst.net.nz>
parent 27434f3a
......@@ -643,7 +643,7 @@ class LeapExportElement {
*
* @return string
*/
public function get_view_relationship(View $view) {
public function get_view_relationship($viewid) {
return 'is_part_of';
}
......
Markdown is supported
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