mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
sysutils/api-backup: style sweep
This commit is contained in:
+1
-1
@@ -40,7 +40,7 @@ class BackupController extends ApiControllerBase
|
||||
* @param string $format set to 'json' to get a base64 encoded config backup
|
||||
* @return array|mixed
|
||||
*/
|
||||
public function downloadAction($format='plain')
|
||||
public function downloadAction($format = 'plain')
|
||||
{
|
||||
$data = file_get_contents(self::CONFIG_XML);
|
||||
$status = $data === false ? 'error' : 'success';
|
||||
|
||||
Reference in New Issue
Block a user