liam-linux-account-manager/templates/serveraccount_sync_status_json.php

8 lines
201 B
PHP
Raw Normal View History

2021-11-16 15:11:32 +01:00
<?php
$sync_status = $this->get('sync_status');
$pending = $this->get('pending');
$json = new StdClass;
$json->sync_status = $sync_status;
$json->pending = $pending;
out(json_encode($json), ESC_NONE);