Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatic deletion #34

Open
ghost opened this issue Aug 23, 2020 · 4 comments
Open

Automatic deletion #34

ghost opened this issue Aug 23, 2020 · 4 comments

Comments

@ghost
Copy link

ghost commented Aug 23, 2020

Would be great if you could add the possibility to delete automatically files or text we put in dropit after a chosen time (like a day, a week, a month...).
Thanks ! :)

@tobiasKaminsky
Copy link
Contributor

This is already the case. I think all files get deleted after 30 days.

@ghost
Copy link
Author

ghost commented Aug 24, 2020

Thanks for your answer ! You think or you're sure ? Because I don't see this info anywhere... Do you think that would be possible to choose the deletion's date by ourselves ?

@tobiasKaminsky
Copy link
Contributor

:-)
I am sure that they are deleted, but not sure about the delay.
https://github.com/rullzer/dropit/blob/master/lib/BackgroundJob/CleanUpJob.php#L90
--> 14 days

Do you think that would be possible to choose the deletion's date by ourselves ?

Is there a need for this? Personally I do not care how long those files are available.

Because I don't see this info anywhere...

Yes, it should be stated somewhere…

@ghost
Copy link
Author

ghost commented Sep 9, 2020

Hello !
I'm back... ;-) I've tested for a long time drop it to see if files are automatically deleted, but after 24 days, they're not.
dropit
Why ? Does something would be wroten bewteen ( ) of the line $node->delete() ?

And to answer to your last question, yes, I would like to choose deletion's date, because if I share files just for a little period, I prefer that this file is deleted with the end of sharing... ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant