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',
|
||||
);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -49,5 +49,9 @@
|
||||
"before": "Before (field)",
|
||||
"link": "Link",
|
||||
"field": "Field"
|
||||
},
|
||||
"messages": {
|
||||
"upgradeVersion": "Your EspoCRM will be upgraded to version <strong>{version}</strong>. This can take some time.",
|
||||
"upgradeBackup": "We recommend you to make backup of your EspoCRM files and data before upgrade."
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user