安装插件后的基础文件
This commit is contained in:
21
plugin/easyflow/Upgrade.php
Normal file
21
plugin/easyflow/Upgrade.php
Normal file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
namespace plugin\easyflow;
|
||||
|
||||
/**
|
||||
* 简单工作流插件
|
||||
*/
|
||||
class Upgrade
|
||||
{
|
||||
/**
|
||||
* 插件升级方法
|
||||
* @access public
|
||||
* @param $oldVersion
|
||||
* @param $newVersion
|
||||
* @return bool
|
||||
*/
|
||||
public function execute($oldVersion, $newVersion): bool
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user