fixed update job
This commit is contained in:
parent
0a1ccab5a9
commit
951ca29215
@ -62,7 +62,7 @@ class FinishUpdate extends Job
|
|||||||
*/
|
*/
|
||||||
public function authorize(): void
|
public function authorize(): void
|
||||||
{
|
{
|
||||||
if (! $this->moduleExists($this->alias)) {
|
if (($this->alias != 'core') && ! $this->moduleExists($this->alias)) {
|
||||||
throw new \Exception("Module [{$this->alias}] not found.");
|
throw new \Exception("Module [{$this->alias}] not found.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user