diff --git a/examples/create_site.php b/examples/create_site.php index c7848c3..b2ba5d1 100755 --- a/examples/create_site.php +++ b/examples/create_site.php @@ -35,6 +35,6 @@ $loginresults = $unifi_connection->login(); $results = $unifi_connection->create_site($description); /** - * provide feedback (the newly created vouchers) in json format + * provide feedback in json format */ -echo json_encode($vouchers, JSON_PRETTY_PRINT); +echo json_encode($results, JSON_PRETTY_PRINT); diff --git a/examples/delete_site.php b/examples/delete_site.php index a086ffd..07df7a4 100755 --- a/examples/delete_site.php +++ b/examples/delete_site.php @@ -24,7 +24,7 @@ $site_id = ''; /** - * the site to delete, may not be the same site as referenced by $site_id + * the site to delete, must not be the same site as referenced by $site_id */ $site_to_delete = '<_id value of the site>'; @@ -36,6 +36,6 @@ $loginresults = $unifi_connection->login(); $results = $unifi_connection->delete_site($site_to_delete); /** - * provide feedback (the newly created vouchers) in json format + * provide feedback in json format */ -echo json_encode($vouchers, JSON_PRETTY_PRINT); +echo json_encode($results, JSON_PRETTY_PRINT);