mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-11 18:01:10 -06:00
#2138 Remove unused code
This commit is contained in:
parent
5c90571524
commit
916707a025
@ -1,27 +0,0 @@
|
||||
<?php namespace Visiosoft\ProfileModule\Profile\sites;
|
||||
|
||||
use Anomaly\Streams\Platform\Ui\Form\FormBuilder;
|
||||
use Visiosoft\CloudsiteModule\Site\SiteModel;
|
||||
|
||||
class SitesFormBuilder extends FormBuilder
|
||||
{
|
||||
protected $model = SiteModel::class;
|
||||
|
||||
protected $fields = [
|
||||
'subdomain'
|
||||
];
|
||||
|
||||
protected $actions = [
|
||||
'save' => [
|
||||
'text' => 'visiosoft.module.subscriptions::button.create',
|
||||
],
|
||||
];
|
||||
|
||||
protected $buttons = [
|
||||
'cancel',
|
||||
];
|
||||
|
||||
protected $options = [
|
||||
'redirect' => '/admin/subscriptions/',
|
||||
];
|
||||
}
|
||||
@ -21,7 +21,6 @@ use Visiosoft\ProfileModule\Profile\Password\PasswordFormBuilder;
|
||||
use Visiosoft\ProfileModule\Profile\Profile\ProfileFormBuilder;
|
||||
use Visiosoft\ProfileModule\Profile\Register2\Register2FormBuilder;
|
||||
use Visiosoft\ProfileModule\Profile\SignIn\SignInFormBuilder;
|
||||
use Visiosoft\ProfileModule\Profile\sites\SitesFormBuilder;
|
||||
use Visiosoft\ProfileModule\Profile\User\UserFormBuilder;
|
||||
|
||||
class ProfileModuleServiceProvider extends AddonServiceProvider
|
||||
@ -136,7 +135,6 @@ class ProfileModuleServiceProvider extends AddonServiceProvider
|
||||
AdressRepositoryInterface::class => AdressRepository::class,
|
||||
EducationRepositoryInterface::class => EducationRepository::class,
|
||||
'register2' => Register2FormBuilder::class,
|
||||
'sites' => SitesFormBuilder::class,
|
||||
'forgot_pass' => ForgotPassFormBuilder::class,
|
||||
];
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user