mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-11-29 16:50:13 +01:00
2017-04-17 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in 'lib/rdcart.cpp' that caused the 'Import' web API call to return 404 when importing with 'CREATE' set to '1' and unique titles enabled in the database.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
//
|
||||
// Rivendell web service portal -- Import service
|
||||
//
|
||||
// (C) Copyright 2010,2016 Fred Gleason <fredg@paravelsystems.com>
|
||||
// (C) Copyright 2010,2016-2017 Fred Gleason <fredg@paravelsystems.com>
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License version 2 as
|
||||
@@ -215,13 +215,6 @@ void Xport::Import()
|
||||
resp_code=400;
|
||||
break;
|
||||
}
|
||||
/*
|
||||
delete conv;
|
||||
delete settings;
|
||||
delete conf;
|
||||
delete cut;
|
||||
delete cart;
|
||||
*/
|
||||
if(resp_code==200) {
|
||||
cut->setSha1Hash(RDSha1Hash(RDCut::pathName(cut->cutName())));
|
||||
printf("Content-type: application/xml\n");
|
||||
|
||||
Reference in New Issue
Block a user