Version 4.3.0
This commit is contained in:
1 parent
96997ddd8e
commit
fe1acf984a
1349 files changed
+116159
-67711
No files matched your search
@@ -37,9 +37,6 @@ class _followed extends \IPS\Dispatcher\Controller
|
||||
|
||||
/* Get the different types */
|
||||
$types = array();
|
||||
|
||||
/* Don't forget Members */
|
||||
$types['core'] = array( 'core_member' => "\IPS\Member" );
|
||||
|
||||
foreach ( \IPS\Content::routedClasses( TRUE, FALSE, TRUE ) as $class )
|
||||
{
|
||||
@@ -61,6 +58,9 @@ class _followed extends \IPS\Dispatcher\Controller
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Don't forget Members - add this on to the end so it never defaults UNLESS we only have apps that do not have followable content */
|
||||
$types['core'] = array( 'core_member' => "\IPS\Member" );
|
||||
|
||||
/* What type are we looking at? */
|
||||
$currentAppModule = NULL;
|
||||
@@ -84,11 +84,6 @@ class _followed extends \IPS\Dispatcher\Controller
|
||||
{
|
||||
foreach ( $_types as $key => $class )
|
||||
{
|
||||
if ( $key == 'core_member' )
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
$currentAppModule = $appModule;
|
||||
$currentType = $key;
|
||||
break 2;
|
||||
|
||||
Reference in new issue
Block a user