Index: sources/cloudsync/CloudSyncController.cpp =================================================================== diff -u -rdff4ac319c6619a1ccb894c7d6079e8e4a46b776 -r9bca30f7f28aadd2f5cbbd66a20ff3f263831545 --- sources/cloudsync/CloudSyncController.cpp (.../CloudSyncController.cpp) (revision dff4ac319c6619a1ccb894c7d6079e8e4a46b776) +++ sources/cloudsync/CloudSyncController.cpp (.../CloudSyncController.cpp) (revision 9bca30f7f28aadd2f5cbbd66a20ff3f263831545) @@ -788,6 +788,15 @@ return ok; } +/*! + * \brief CloudSyncController::csFactoryReset + * \details This function is requesting CloudSync to remove all the credentials and configurations + * in the settings partition (/var/configurations/CloudSync) + * during decommissioning + * which then it means the device needs to be re-registered to able to communicate with cloud. + * It is a request from UI to CS since UI Linux user (denali) should not have access + * to remove the CloudSync credentials. + */ void CloudSyncController::csFactoryReset() { bool ok = true; Q_UNUSED(ok)