This commit is contained in:
mchev
2026-03-21 18:59:53 +01:00
parent 186ab35fd4
commit c901114fc0
232 changed files with 685 additions and 403 deletions

View File

@@ -193,7 +193,7 @@ class ModuleInstaller
$files = json_decode($json);
foreach ($files as $file) {
\File::delete(base_path($file));
File::delete(base_path($file));
}
return true;

View File

@@ -124,7 +124,7 @@ class Updater
$files = json_decode($json);
foreach ($files as $file) {
\File::delete(base_path($file));
File::delete(base_path($file));
}
return true;

View File

@@ -176,7 +176,7 @@ function clean_slug($model, $title, $id = 0)
}
}
throw new \Exception('Can not create a unique slug');
throw new Exception('Can not create a unique slug');
}
function getRelatedSlugs($type, $slug, $id = 0)