Commit ce839207 authored by Nigel McNie's avatar Nigel McNie
Browse files

Add the view owner to the config we pass to View::import_from_config



This is necessary so blocks can make decisions about importing based on
the owner.
Signed-off-by: default avatarNigel McNie <nigel@catalyst.net.nz>
parent 13c1aa19
...@@ -587,6 +587,7 @@ class PluginImportLeap extends PluginImport { ...@@ -587,6 +587,7 @@ class PluginImportLeap extends PluginImport {
'layout' => null, // TODO 'layout' => null, // TODO
'tags' => self::get_entry_tags($entry), 'tags' => self::get_entry_tags($entry),
'numcolumns' => $columncount, 'numcolumns' => $columncount,
'owner' => $this->get('usr'),
'ownerformat' => FORMAT_NAME_DISPLAYNAME, // TODO 'ownerformat' => FORMAT_NAME_DISPLAYNAME, // TODO
); );
......
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