diff --git a/include/MarketPlaceApp.h b/include/MarketPlaceApp.h
index a98378e497..a22721e8d5 100644
--- a/include/MarketPlaceApp.h
+++ b/include/MarketPlaceApp.h
@@ -295,11 +295,6 @@ private:
*/
std::string description;
- /**
- * User sharing the app
- */
- std::string publisher;
-
/**
* Version of the app
*/
diff --git a/src/market/MarketPlaceApp.cc b/src/market/MarketPlaceApp.cc
index b7fa6102e1..ae2a1ca293 100644
--- a/src/market/MarketPlaceApp.cc
+++ b/src/market/MarketPlaceApp.cc
@@ -49,7 +49,6 @@ MarketPlaceApp::MarketPlaceApp(
md5(""),
size_mb(0),
description(""),
- publisher(""),
version(""),
apptemplate64(""),
market_id(-1),
@@ -109,7 +108,6 @@ int MarketPlaceApp::insert(SqlDB *db, string& error_str)
//ORIGIN_ID
//DESCRIPTION
//APPTEMPLATE64
- //PUBLISHER
//VERSION
if (!get_template_attribute("ORIGIN_ID", origin_id))
{
@@ -122,13 +120,6 @@ int MarketPlaceApp::insert(SqlDB *db, string& error_str)
get_template_attribute("APPTEMPLATE64", apptemplate64);
- get_template_attribute("PUBLISHER", publisher);
-
- if (publisher.empty())
- {
- publisher = uname;
- }
-
get_template_attribute("VERSION", version);
if (version.empty())
@@ -253,7 +244,6 @@ std::string& MarketPlaceApp::to_xml(std::string& xml) const
"" << md5 << "" <<
"" << size_mb << "" <<
"" << description << "" <<
- "" << publisher << "" <<
"" << version << "" <<
"" << format << "" <<
"" << apptemplate64 << "" <<
@@ -299,7 +289,6 @@ int MarketPlaceApp::from_xml(const std::string &xml_str)
rc += xpath(size_mb, "/MARKETPLACEAPP/SIZE", -1);
rc += xpath(version, "/MARKETPLACEAPP/VERSION", "not_found");
rc += xpath(md5, "/MARKETPLACEAPP/MD5", "not_found");
- rc += xpath(publisher, "/MARKETPLACEAPP/PUBLISHER", "not_found");
rc += xpath(format, "/MARKETPLACEAPP/FORMAT", "not_found");
rc += xpath(apptemplate64,"/MARKETPLACEAPP/APPTEMPLATE64", "not_found");
rc += xpath(market_name, "/MARKETPLACEAPP/MARKETPLACE", "not_found");
@@ -338,7 +327,6 @@ int MarketPlaceApp::post_update_template(string& error)
{
std::string n_description;
std::string n_apptemplate64;
- std::string n_publisher;
std::string n_version;
// -------------------------------------------------------------------------
@@ -346,12 +334,10 @@ int MarketPlaceApp::post_update_template(string& error)
// -------------------------------------------------------------------------
get_template_attribute("DESCRIPTION", n_description);
get_template_attribute("APPTEMPLATE64", n_apptemplate64);
- get_template_attribute("PUBLISHER", n_publisher);
get_template_attribute("VERSION", n_version);
description = n_description;
apptemplate64 = n_apptemplate64;
- publisher = n_publisher;
version = n_version;
return 0;
@@ -460,7 +446,6 @@ int MarketPlaceApp::from_template64(const std::string &info64, std::string& err)
erase_template_attribute("SIZE", size_mb);
erase_template_attribute("VERSION", version);
erase_template_attribute("MD5", md5);
- erase_template_attribute("PUBLISHER", publisher);
erase_template_attribute("FORMAT", format);
erase_template_attribute("APPTEMPLATE64", apptemplate64);