public void ClassifiedDelete(UUID queryClassifiedID, IClientAPI remoteClient)
        {
            Classified classcheck = ProfileFrontend.GetClassified(queryClassifiedID);

            if (classcheck.CreatorUUID == remoteClient.AgentId)
            {
                ProfileFrontend.RemoveClassified(queryClassifiedID);
                IScheduledMoneyModule scheduledMoneyModule = remoteClient.Scene.RequestModuleInterface <IScheduledMoneyModule>();
                if (scheduledMoneyModule != null && classcheck != null && ((classcheck.ClassifiedFlags & 32) == 32))
                {
                    //Remove auto-renew
                    scheduledMoneyModule.RemoveFromScheduledCharge("[Classified: " + queryClassifiedID + "]");
                }
            }
        }
        public byte[] RemoveClassified(OSDMap request)
        {
            UUID principalID = request["ClassifiedUUID"].AsUUID();

            ProfileConnector.RemoveClassified(principalID);

            string xmlString = OSDParser.SerializeJsonString(new OSDMap());
            //MainConsole.Instance.DebugFormat("[AuroraDataServerPostHandler]: resp string: {0}", xmlString);
            UTF8Encoding encoding = new UTF8Encoding();

            return(encoding.GetBytes(xmlString));
        }
 public void ClassifiedDelete(UUID queryClassifiedID, IClientAPI remoteClient)
 {
     ProfileFrontend.RemoveClassified(queryClassifiedID);
 }