Fixed constant values in application/libraries/DocsboxLib.php

This commit is contained in:
Paolo
2022-05-11 11:06:53 +02:00
parent 58d252b5b7
commit 704b32c76c
+2 -2
View File
@@ -26,8 +26,8 @@ use \ZipArchive as ZipArchive;
*/
class DocsboxLib
{
const ERROR = EXIT_ERROR;
const SUCCESS = EXIT_SUCCESS;
const ERROR = 1;
const SUCCESS = 0;
const STATUS_FINISHED = 'finished'; // Docsbox status when a document conversion ended
const STATUS_QUEUED = 'queued'; // Docsbox status when a file has been queued for the conversion
const STATUS_STARTED = 'started'; // Docsbox status when a file has started being worked