Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion app/lib/Utils/CLIUtils/Maintenance.php
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,8 @@ public static function remove_deleted_representationsHelp() {
public static function purge_deleted($opts=null) {
require_once(__CA_LIB_DIR__."/Logging/Downloadlog.php");

CLIUtils::addMessage(_t("Are you sure you want to PERMANENTLY remove all deleted records? This cannot be undone.\n\nType 'y' to proceed or 'N' to cancel, then hit return ", $current_revision, __CollectiveAccess_Schema_Rev__));
CLIUtils::addMessage(_t("Are you sure you want to PERMANENTLY remove all deleted records? This cannot be undone.\n\nType 'y' to proceed or 'N' to cancel, then hit return \n\nConsider running remove-deleted-representations utility first, to physically remove the media files and avoid orphaned media on disk\n", $current_revision, __CollectiveAccess_Schema_Rev__));

flush();
ob_flush();
$confirmation = trim( fgets( STDIN ) );
Expand Down