Version 5.0.14
This commit is contained in:
1 parent
5efe744c5f
commit
dbd774b30c
364 files changed
+7048
-1377
No files matched your search
@@ -27,6 +27,12 @@ if ( !defined( '\IPS\SUITE_UNIQUE_KEY' ) )
|
||||
*/
|
||||
class Blogs extends ModeratorPermissionsAbstract
|
||||
{
|
||||
public function getPermissions( array $toggles ): array
|
||||
{
|
||||
/* Leave this empty because we are going to just add to the existing Blogs tab */
|
||||
return [];
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Permissions
|
||||
*
|
||||
@@ -45,7 +51,7 @@ class Blogs extends ModeratorPermissionsAbstract
|
||||
* @param array $toggles
|
||||
* @return array
|
||||
*/
|
||||
public function getPermissions( array $toggles ): array
|
||||
public function getContentPermissions( array $toggles ): array
|
||||
{
|
||||
return array( 'can_mod_blogs' => 'YesNo' );
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user