Version 4.6.0
This commit is contained in:
1 parent
f79dcf067a
commit
517a5e1f70
2036 files changed
+110041
-26162
No files matched your search
@@ -154,7 +154,7 @@ class _usagereporting extends \IPS\Task
|
||||
/* Settings */
|
||||
foreach ( \IPS\Db::i()->select( array( 'conf_key', 'conf_value', 'conf_default', 'conf_app', 'conf_report' ), 'core_sys_conf_settings', 'conf_report IS NOT NULL' ) as $row )
|
||||
{
|
||||
if ( \in_array( $row['conf_app'], \IPS\Application::$ipsApps ) and \IPS\Application::appIsEnabled( $row['conf_app'] ) )
|
||||
if ( \in_array( $row['conf_app'], \IPS\IPS::$ipsApps ) and \IPS\Application::appIsEnabled( $row['conf_app'] ) )
|
||||
{
|
||||
if ( $row['conf_report'] == 'full' )
|
||||
{
|
||||
@@ -168,7 +168,7 @@ class _usagereporting extends \IPS\Task
|
||||
}
|
||||
|
||||
/* Database counts */
|
||||
foreach ( \IPS\Application::$ipsApps as $app )
|
||||
foreach ( \IPS\IPS::$ipsApps as $app )
|
||||
{
|
||||
if ( \IPS\Application::appIsEnabled( $app ) and file_exists( \IPS\ROOT_PATH . "/applications/{$app}/data/schema.json" ) )
|
||||
{
|
||||
@@ -276,7 +276,7 @@ class _usagereporting extends \IPS\Task
|
||||
foreach( \IPS\convert\App::apps() as $app )
|
||||
{
|
||||
/* Some legacy converters may not have the correct sw key */
|
||||
if( !\in_array( $app->sw, \IPS\Application::$ipsApps ) OR !$app->finished )
|
||||
if( !\in_array( $app->sw, \IPS\IPS::$ipsApps ) OR !$app->finished )
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user