         
         FMain.sharedInstance.database.removeChild(path:pathPicture)
         
-        DispatchQueue.main.async
-        { [weak self] in
-            
-            self?.viewPictures.removeSelected()
-        }
+        onSuccess?()
     }
     
     //MARK: public

            DispatchQueue.global(qos:DispatchQoS.QoSClass.background).async
            { [weak self] in
                
                self?.confirmedDeletePicture()
            }
        }
        

            
            else
            {
                self?.picDeleted(
                    userId:userId,
                    pictureId:pictureId,
                    dataLength:dataLength,
                    onSuccess:onSuccess)
                
                return
            }
            
            onError?(errorString)
        }
    }
    
    private func picDeleted(userId:String, pictureId:MPictures.PictureId, dataLength:Int, onSuccess:(() -> ())?)
    {
        let parentUser:String = FDatabase.Parent.user.rawValue
        let propertyPictures:String = FDatabaseModelUser.Property.pictures.rawValue
