diff --git a/src/Core/System/System.php b/src/Core/System/System.php index 71d371b2c..82b5a9da4 100644 --- a/src/Core/System/System.php +++ b/src/Core/System/System.php @@ -226,6 +226,17 @@ public static function reboot(): void Processes::mwExec("{$pbx_reboot} > /dev/null 2>&1"); } + /** + * Reboots the system after calling system_reboot_cleanup() + * @deprecated Use System::reboot() instead. + * @return void + */ + public static function rebootSync(): void + { + System::reboot(); + } + + /** * Shutdown the system. */