mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-12-01 05:03:40 +08:00
9dc9724e15
* Started move to laravel 5.3 * Started updating login & registration flows for laravel 5.3 update * Updated app emails to notification system * Fixed registations bugs and removed email confirmation model * Fixed large portion of laravel post-upgrade issues * Fixed and tested LDAP process
27 lines
571 B
PHP
27 lines
571 B
PHP
<?php
|
|
|
|
namespace BookStack\Providers;
|
|
|
|
use Illuminate\Support\ServiceProvider;
|
|
use Illuminate\Support\Facades\Broadcast;
|
|
|
|
class BroadcastServiceProvider extends ServiceProvider
|
|
{
|
|
/**
|
|
* Bootstrap any application services.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function boot()
|
|
{
|
|
// Broadcast::routes();
|
|
//
|
|
// /*
|
|
// * Authenticate the user's personal channel...
|
|
// */
|
|
// Broadcast::channel('BookStack.User.*', function ($user, $userId) {
|
|
// return (int) $user->id === (int) $userId;
|
|
// });
|
|
}
|
|
}
|