deprecated comments

This commit is contained in:
Yuri Kuznetsov
2021-06-22 20:35:13 +03:00
parent 8582f74e3e
commit 5b1d060e5a
2 changed files with 8 additions and 0 deletions
+4
View File
@@ -27,6 +27,10 @@
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
/**
* @deprecated Use `php command.php extension --file="path/to/extension/package.zip"`.
*/
if (substr(php_sapi_name(), 0, 3) !== 'cli') {
exit;
}
+4
View File
@@ -27,6 +27,10 @@
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
/**
* @deprecated Use `php command.php upgrade`.
*/
if (substr(php_sapi_name(), 0, 3) !== 'cli') {
exit;
}