mirror of
https://github.com/espocrm/espocrm.git
synced 2026-06-28 06:56:05 +00:00
upgrade action
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
namespace Espo\Controllers;
|
||||
|
||||
use \Espo\Core\Exceptions\Error,
|
||||
\Espo\Core\Exceptions\Forbidden;
|
||||
\Espo\Core\Exceptions\Forbidden;
|
||||
|
||||
class Admin extends \Espo\Core\Controllers\Base
|
||||
{
|
||||
@@ -54,6 +54,15 @@ class Admin extends \Espo\Core\Controllers\Base
|
||||
|
||||
return $scheduledJob->getAllNamesOnly();
|
||||
}
|
||||
|
||||
public function actionUploadUpgradePackage()
|
||||
{
|
||||
throw new Error("Your EspoCRM version doesn't match for this upgrade package.");
|
||||
|
||||
return array(
|
||||
'version' => '1.1',
|
||||
);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user