[Koha-bugs] [Bug 24153] Add a confirm flag to the cleanup_database.pl cronjob
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Jun 26 13:00:55 CEST 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24153
Jonathan Druart <jonathan.druart at bugs.koha-community.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #101300|0 |1
is obsolete| |
Attachment #106197|0 |1
is obsolete| |
Attachment #106252|0 |1
is obsolete| |
Attachment #106253|0 |1
is obsolete| |
Attachment #106254|0 |1
is obsolete| |
--- Comment #20 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 106327
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=106327&action=edit
Bug 24153: Add a confirm flag to cleanup_database
How handy this will be, right?
This patch will change the behavior of this script as the --confirm flag
will now be required for effective changes.
Without --confirm and with --verbose you will see what could have done
the script in non dry-run mode.
Test plan:
Use different options of the script without the --confirm flag and have
a look at the output. It now tells you what would have been deleted if
the flag was passed.
Now use the --confirm flag and confirm that the changes are now
effective.
Sponsored-by: Association KohaLa - https://koha-fr.org/
Signed-off-by: Signed-off-by: Sonia Bouis <sonia.bouis at univ-lyon3.fr>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list