first commit

This commit is contained in:
Roman Pyrih
2023-07-24 08:30:51 +02:00
commit c2e100a763
7128 changed files with 1622619 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
<?php
class Brizy_Admin_Migrations_CleanLogsMigration implements Brizy_Admin_Migrations_MigrationInterface {
/**
* Return the version
*
* @return mixed
*/
public function getVersion() {
return '1.0.93';
}
/**
* @return mixed|void
* @throws Exception
*/
public function execute() {
try {
Brizy_Logger::clean();
} catch ( Exception $e ) {
Brizy_Logger::instance()->critical( 'Filed migration Brizy_Admin_Migrations_CleanLogsMigration', [] );
throw $e;
}
}
public function getPriority() {
return 10;
}
}