v2 first commit
This commit is contained in:
@ -2,8 +2,7 @@
|
||||
|
||||
namespace App\Http\Controllers\Common;
|
||||
|
||||
use App\Http\Controllers\Controller;
|
||||
use Module;
|
||||
use App\Abstracts\Http\Controller;
|
||||
|
||||
class Import extends Controller
|
||||
{
|
||||
@ -18,7 +17,7 @@ class Import extends Controller
|
||||
{
|
||||
$path = $group . '/' . $type;
|
||||
|
||||
if (Module::findByAlias($group) instanceof \Nwidart\Modules\Module) {
|
||||
if (module($group) instanceof \Akaunting\Module\Module) {
|
||||
$namespace = $group . '::';
|
||||
} else {
|
||||
$namespace = '';
|
||||
|
Reference in New Issue
Block a user