remote upload api update

This commit is contained in:
Čarodej
2022-05-03 07:55:48 +02:00
parent 0f42704980
commit aca289b5a6
3 changed files with 32 additions and 11 deletions

View File

@@ -48,6 +48,16 @@ if (! function_exists('isBroadcasting')) {
}
}
if (! function_exists('isNotBroadcasting')) {
/**
* Check if cron is running
*/
function isNotBroadcasting(): bool
{
return config('broadcasting.default') === null;
}
}
if (! function_exists('isRunningCron')) {
/**
* Check if cron is running