wiki controller
This commit is contained in:
@@ -31,8 +31,6 @@ class WikiController extends Controller
|
|||||||
//Get all the users from the database
|
//Get all the users from the database
|
||||||
$users = DokuUser::pluck('name')->all();
|
$users = DokuUser::pluck('name')->all();
|
||||||
|
|
||||||
dd($users);
|
|
||||||
|
|
||||||
$legacy = AllowedLogin::where(['login_type' => 'Legacy'])->pluck('entity_id')->toArray();
|
$legacy = AllowedLogin::where(['login_type' => 'Legacy'])->pluck('entity_id')->toArray();
|
||||||
$renter = AllowedLogin::where(['login_type' => 'Renter'])->pluck('entity_id')->toArray();
|
$renter = AllowedLogin::where(['login_type' => 'Renter'])->pluck('entity_id')->toArray();
|
||||||
|
|
||||||
@@ -50,7 +48,7 @@ class WikiController extends Controller
|
|||||||
$uid = DokuUser::where([
|
$uid = DokuUser::where([
|
||||||
'name' => $user,
|
'name' => $user,
|
||||||
])->value('id');
|
])->value('id');
|
||||||
|
dd($uid);
|
||||||
//Delete the permissions of the user first.
|
//Delete the permissions of the user first.
|
||||||
DokuMember::where([
|
DokuMember::where([
|
||||||
'uid' => $uid,
|
'uid' => $uid,
|
||||||
|
|||||||
Reference in New Issue
Block a user