Better fix for obsolete msg wrapper for deleting media db dirs
Courtesy of @ophian References #287
This commit is contained in:
parent
6064057e26
commit
b6380f8a69
@ -1769,7 +1769,9 @@ function serendipity_killPath($basedir, $directory = '', $forceDelete = false) {
|
||||
}
|
||||
@closedir($handle);
|
||||
|
||||
echo '<span class="msg_notice"><span class="icon-info-circled"></span> ';
|
||||
printf(CHECKING_DIRECTORY . "<br />\n", $directory);
|
||||
echo "</span>\n";
|
||||
|
||||
// No, we just don't kill files the easy way. We sort them out properly from the database
|
||||
// and preserve files not entered therein.
|
||||
|
@ -67,7 +67,7 @@
|
||||
{/if}
|
||||
{if $case_directoryDoDelete}
|
||||
{if $print_DIRECTORY_WRITE_ERROR}<span class="msg_error"><span class="icon-attention-circled"></span> {$print_DIRECTORY_WRITE_ERROR}</span>{/if}
|
||||
{if $ob_serendipity_killPath}<span class="msg_notice"><span class="icon-info-circled"></span> {$ob_serendipity_killPath}</span>{/if}
|
||||
{if $ob_serendipity_killPath}{$ob_serendipity_killPath}{/if}
|
||||
{if $print_ERROR_NO_DIRECTORY}<span class="msg_error"><span class="icon-attention-circled"></span> {$print_ERROR_NO_DIRECTORY}</span>{/if}
|
||||
{/if}
|
||||
{if $case_directoryEdit}
|
||||
|
Loading…
x
Reference in New Issue
Block a user