Alpha update
This commit is contained in:
parent
3a568602da
commit
a06cdba30e
28 changed files with 615 additions and 589 deletions
|
|
@ -1,9 +1,5 @@
|
|||
<?php
|
||||
|
||||
/*
|
||||
* Adds permissions to the Permissions page in the Admin CP
|
||||
*/
|
||||
|
||||
namespace pedodev\tagging\event;
|
||||
|
||||
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
|
||||
|
|
@ -20,5 +16,6 @@ class permissions implements EventSubscriberInterface
|
|||
public function load_permissions(object $event): void
|
||||
{
|
||||
$event->update_subarray('permissions', 'u_pedodev_tagging_cantagposts', ['lang' => 'ACL_U_PEDODEV_TAGGING_CANTAGPOSTS', 'cat' => 'post']);
|
||||
$event->update_subarray('permissions', 'u_pedodev_tagging_cantagsearch', ['lang' => 'ACL_U_PEDODEV_TAGGING_CANTAGSEARCH', 'cat' => 'misc']);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue