Version 4.5.0
This commit is contained in:
1 parent
1a0c7fd3c2
commit
f79dcf067a
3791 files changed
+248032
-76372
No files matched your search
@@ -0,0 +1,24 @@
|
||||
//<?php
|
||||
|
||||
/* To prevent PHP errors (extending class does not exist) revealing path */
|
||||
if ( !\defined( '\IPS\SUITE_UNIQUE_KEY' ) )
|
||||
{
|
||||
exit;
|
||||
}
|
||||
|
||||
class downloads_hook_frontModcp extends _HOOK_CLASS_
|
||||
{
|
||||
|
||||
/**
|
||||
* Get hidden content types
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
protected function _getContentTypes(): array
|
||||
{
|
||||
$parent = parent::_getContentTypes();
|
||||
unset( $parent['downloads_downloads']['downloads_file_pendingversion'] );
|
||||
|
||||
return $parent;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user