cosmetic
This commit is contained in:
parent
e176ff703f
commit
7a2145d2e2
@ -21,7 +21,6 @@ use dcPage;
|
|||||||
/* clearbricks ns */
|
/* clearbricks ns */
|
||||||
use form;
|
use form;
|
||||||
use http;
|
use http;
|
||||||
use path;
|
|
||||||
|
|
||||||
/* php ns */
|
/* php ns */
|
||||||
use Exception;
|
use Exception;
|
||||||
|
@ -172,7 +172,7 @@ class Manage
|
|||||||
|
|
||||||
# Delete
|
# Delete
|
||||||
} elseif ($action == 'delete') {
|
} elseif ($action == 'delete') {
|
||||||
$del_success= false;
|
$del_success = false;
|
||||||
foreach ($_POST['modules'] as $root => $id) {
|
foreach ($_POST['modules'] as $root => $id) {
|
||||||
if (!file_exists($root) || !files::isDeletable($root)) {
|
if (!file_exists($root) || !files::isDeletable($root)) {
|
||||||
dcPage::addWarningNotice(sprintf(__('Undeletable file "%s"', $root)));
|
dcPage::addWarningNotice(sprintf(__('Undeletable file "%s"', $root)));
|
||||||
|
@ -24,6 +24,9 @@ use form;
|
|||||||
use html;
|
use html;
|
||||||
use path;
|
use path;
|
||||||
|
|
||||||
|
/* php */
|
||||||
|
use Exception;
|
||||||
|
|
||||||
class Utils
|
class Utils
|
||||||
{
|
{
|
||||||
public static function is_configured(string $repo, string $file_a, string $file_b): bool
|
public static function is_configured(string $repo, string $file_a, string $file_b): bool
|
||||||
|
Loading…
Reference in New Issue
Block a user