users / notifications : temporary disabled notifications system
This commit is contained in:
parent
9167519388
commit
ef6375f4cc
15 changed files with 302 additions and 113 deletions
|
|
@ -1,15 +1,5 @@
|
|||
<?php
|
||||
|
||||
Kirby::plugin('adrienpayet/pdc-your-projects', [
|
||||
'userMethods' => [
|
||||
'projects' => function() {
|
||||
$allProjects = page('projects')->children();
|
||||
|
||||
$managedProjects = $allProjects->filter(
|
||||
fn ($project) => $project->managers()->toUsers()->has($this)
|
||||
);
|
||||
|
||||
return $managedProjects;
|
||||
}
|
||||
]
|
||||
'userMethods' => []
|
||||
]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue