campaignd: Drop removed pbl attributes on upload if applicable
Closes #6284.
This commit is contained in:
parent
9b23565b0c
commit
7b1ec72acb
1 changed files with 3 additions and 2 deletions
|
@ -1468,9 +1468,10 @@ void server::handle_upload(const server::request& req)
|
|||
|
||||
// Write general metadata attributes
|
||||
|
||||
addon.copy_attributes(upload,
|
||||
addon.copy_or_remove_attributes(upload,
|
||||
"title", "name", "author", "description", "version", "icon",
|
||||
"translate", "dependencies", "core", "type", "tags", "email");
|
||||
"translate", "dependencies", "core", "type", "tags", "email"
|
||||
);
|
||||
|
||||
const std::string& pathstem = "data/" + name;
|
||||
addon["filename"] = pathstem;
|
||||
|
|
Loading…
Add table
Reference in a new issue