Clarify that notices are also deleted with nukefile.php

This commit is contained in:
Mikael Nordfeldth 2015-12-27 11:43:25 +01:00
parent 6026dcaed1
commit 4a31e4992d

View File

@ -54,7 +54,7 @@ if (!have_option('y', 'yes')) {
} catch (Exception $e) { } catch (Exception $e) {
$filename = '(remote file or no filename)'; $filename = '(remote file or no filename)';
} }
print "About to PERMANENTLY delete file ($filename) ({$file->id}). Are you sure? [y/N] "; print "About to PERMANENTLY delete file ($filename) with id=={$file->id}) AND its related notices. Are you sure? [y/N] ";
$response = fgets(STDIN); $response = fgets(STDIN);
if (strtolower(trim($response)) != 'y') { if (strtolower(trim($response)) != 'y') {
print "Aborting.\n"; print "Aborting.\n";