autoload([ 'advancedCleaner' => __DIR__ . '/inc/class.advanced.cleaner.php', 'dcAdvancedCleaner' => __DIR__ . '/inc/class.dc.advanced.cleaner.php', 'behaviorsDcAdvancedCleaner' => __DIR__ . '/inc/lib.dc.advanced.cleaner.behaviors.php', 'dcUninstaller' => __DIR__ . '/inc/class.dc.uninstaller.php', 'dcAdvancedCleanerActivityReportBehaviors' => __DIR__ . '/inc/lib.dc.advanced.cleaner.activityreport.php', ]); # cleaners class Clearbricks::lib()->autoload([ 'advancedCleanerVersions' => __DIR__ . '/inc/lib.advanced.cleaner.php', 'advancedCleanerSettings' => __DIR__ . '/inc/lib.advanced.cleaner.php', 'advancedCleanerTables' => __DIR__ . '/inc/lib.advanced.cleaner.php', 'advancedCleanerThemes' => __DIR__ . '/inc/lib.advanced.cleaner.php', 'advancedCleanerPlugins' => __DIR__ . '/inc/lib.advanced.cleaner.php', 'advancedCleanerCaches' => __DIR__ . '/inc/lib.advanced.cleaner.php', 'advancedCleanerVars' => __DIR__ . '/inc/lib.advanced.cleaner.php', ]); dcCore::app()->addBehavior('advancedCleanerAdd', ['advancedCleanerVersions', 'create']); dcCore::app()->addBehavior('advancedCleanerAdd', ['advancedCleanerSettings', 'create']); dcCore::app()->addBehavior('advancedCleanerAdd', ['advancedCleanerTables', 'create']); dcCore::app()->addBehavior('advancedCleanerAdd', ['advancedCleanerThemes', 'create']); dcCore::app()->addBehavior('advancedCleanerAdd', ['advancedCleanerPlugins', 'create']); dcCore::app()->addBehavior('advancedCleanerAdd', ['advancedCleanerCaches', 'create']); dcCore::app()->addBehavior('advancedCleanerAdd', ['advancedCleanerVars', 'create']); if (defined('ACTIVITY_REPORT_V2')) { dcAdvancedCleanerActivityReportBehaviors::add(); }