mirror of
https://github.com/InvoiceShelf/InvoiceShelf.git
synced 2026-04-07 13:41:23 +00:00
Pint
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user