Rename Bus Add to Create

This commit is contained in:
James Brooks
2017-03-18 09:30:36 +00:00
parent 7d27c61abe
commit a55575656d
34 changed files with 163 additions and 116 deletions

View File

@@ -12,7 +12,7 @@
namespace CachetHQ\Cachet\Http\Controllers\Dashboard;
use AltThree\Validator\ValidationException;
use CachetHQ\Cachet\Bus\Commands\User\AddUserCommand;
use CachetHQ\Cachet\Bus\Commands\User\CreateUserCommand;
use CachetHQ\Cachet\Bus\Commands\User\InviteUserCommand;
use CachetHQ\Cachet\Bus\Commands\User\RemoveUserCommand;
use CachetHQ\Cachet\Models\User;
@@ -80,7 +80,7 @@ class TeamController extends Controller
public function postAddUser()
{
try {
dispatch(new AddUserCommand(
dispatch(new CreateUserCommand(
Binput::get('username'),
Binput::get('password'),
Binput::get('email'),