From d430de0fce7ab697913e0ff9be9e4338049e71c9 Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Tue, 9 Aug 2016 10:51:14 -0400 Subject: [PATCH] API CHANGE: Remove the "fbsdupdate" and "fbsdupdatepkgs" options within the sysadm-update API call for starting an update. These options are no longer available with base pkgs (everything is run through the "pkgupdate" option instead). --- src/server/library/sysadm-update.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/server/library/sysadm-update.cpp b/src/server/library/sysadm-update.cpp index 95ba1b2..cdde30a 100644 --- a/src/server/library/sysadm-update.cpp +++ b/src/server/library/sysadm-update.cpp @@ -160,10 +160,10 @@ QJsonObject Update::startUpdate(QJsonObject jsin) { flags = "chbranch " + jsin.value("branch").toString(); } else if ( target == "pkgupdate" ) { flags = "pkgupdate"; - } else if ( target == "fbsdupdate" ) { +/* } else if ( target == "fbsdupdate" ) { flags = "fbsdupdate"; } else if ( target == "fbsdupdatepkgs" ) { - flags = "fbsdupdatepkgs"; + flags = "fbsdupdatepkgs";*/ } else if ( target == "standalone" ) { if (! keys.contains("tag") ) { retObject.insert("error", "Missing required key 'tag'");