use new addBheviors method
This commit is contained in:
parent
9f06a49d59
commit
68bcb0c060
16
_prepend.php
16
_prepend.php
@ -34,13 +34,15 @@ Clearbricks::lib()->autoload([
|
|||||||
'advancedCleanerVars' => __DIR__ . '/inc/lib.advanced.cleaner.php',
|
'advancedCleanerVars' => __DIR__ . '/inc/lib.advanced.cleaner.php',
|
||||||
]);
|
]);
|
||||||
|
|
||||||
dcCore::app()->addBehavior('advancedCleanerAdd', ['advancedCleanerVersions', 'create']);
|
dcCore::app()->addBehaviors([
|
||||||
dcCore::app()->addBehavior('advancedCleanerAdd', ['advancedCleanerSettings', 'create']);
|
'advancedCleanerAdd' => ['advancedCleanerVersions', 'create'],
|
||||||
dcCore::app()->addBehavior('advancedCleanerAdd', ['advancedCleanerTables', 'create']);
|
'advancedCleanerAdd' => ['advancedCleanerSettings', 'create'],
|
||||||
dcCore::app()->addBehavior('advancedCleanerAdd', ['advancedCleanerThemes', 'create']);
|
'advancedCleanerAdd' => ['advancedCleanerTables', 'create'],
|
||||||
dcCore::app()->addBehavior('advancedCleanerAdd', ['advancedCleanerPlugins', 'create']);
|
'advancedCleanerAdd' => ['advancedCleanerThemes', 'create'],
|
||||||
dcCore::app()->addBehavior('advancedCleanerAdd', ['advancedCleanerCaches', 'create']);
|
'advancedCleanerAdd' => ['advancedCleanerPlugins', 'create'],
|
||||||
dcCore::app()->addBehavior('advancedCleanerAdd', ['advancedCleanerVars', 'create']);
|
'advancedCleanerAdd' => ['advancedCleanerCaches', 'create'],
|
||||||
|
'advancedCleanerAdd' => ['advancedCleanerVars', 'create'],
|
||||||
|
]);
|
||||||
|
|
||||||
if (defined('ACTIVITY_REPORT_V2')) {
|
if (defined('ACTIVITY_REPORT_V2')) {
|
||||||
dcAdvancedCleanerActivityReportBehaviors::add();
|
dcAdvancedCleanerActivityReportBehaviors::add();
|
||||||
|
Loading…
Reference in New Issue
Block a user