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,13 @@ if ( !defined( '\IPS\SUITE_UNIQUE_KEY' ) )
|
||||
*/
|
||||
class Files extends ModeratorPermissionsAbstract
|
||||
{
|
||||
public function getPermissions( array $toggles ): array
|
||||
{
|
||||
/* Leave this empty because we are going to just add to the existing Downloads tab */
|
||||
return [];
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Get Permissions
|
||||
*
|
||||
@@ -45,7 +52,7 @@ class Files extends ModeratorPermissionsAbstract
|
||||
* @endcode
|
||||
* @return array
|
||||
*/
|
||||
public function getPermissions( array $toggles ): array
|
||||
public function getContentPermissions( array $toggles ): array
|
||||
{
|
||||
return array(
|
||||
'can_make_purchasable' => 'YesNo',
|
||||
|
||||
Reference in new issue
Block a user