Restructure where models are stored (#1476)

The idea is to clean the repository a little bit by moving models into their respective folders.
This commit is contained in:
Régis Freyd
2018-06-14 20:49:12 -04:00
committed by GitHub
parent 87077b6ad4
commit 29197090a7
234 changed files with 1362 additions and 1110 deletions
+8 -6
View File
@@ -2,16 +2,18 @@
namespace App\Http\Controllers;
use App\Tag;
use App\User;
use App\ImportJob;
use App\Invitation;
use App\Helpers\DBHelper;
use App\Models\User\User;
use App\Helpers\DateHelper;
use App\Models\Contact\Tag;
use Illuminate\Http\Request;
use App\Helpers\LocaleHelper;
use App\Jobs\SendNewUserAlert;
use App\Jobs\ExportAccountAsSQL;
use App\Jobs\AddContactFromVCard;
use App\Jobs\SendInvitationEmail;
use App\Models\Account\ImportJob;
use App\Models\Account\Invitation;
use Illuminate\Support\Facades\DB;
use App\Notifications\ConfirmEmail;
use Illuminate\Support\Facades\Auth;
@@ -75,8 +77,8 @@ class SettingsController extends Controller
return view('settings.index')
->withNamesOrder($namesOrder)
->withLocales(\App\Helpers\LocaleHelper::getLocaleList())
->withHours(\App\Helpers\DateHelper::getListOfHours());
->withLocales(LocaleHelper::getLocaleList())
->withHours(DateHelper::getListOfHours());
}
/**