File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 3535$ results = $ unifi_connection ->create_site ($ description );
3636
3737/**
38- * provide feedback (the newly created vouchers) in json format
38+ * provide feedback in json format
3939 */
40- echo json_encode ($ vouchers , JSON_PRETTY_PRINT );
40+ echo json_encode ($ results , JSON_PRETTY_PRINT );
Original file line number Diff line number Diff line change 2424
2525
2626/**
27- * the site to delete, may not be the same site as referenced by $site_id
27+ * the site to delete, must not be the same site as referenced by $site_id
2828 */
2929$ site_to_delete = '<_id value of the site> ' ;
3030
3636$ results = $ unifi_connection ->delete_site ($ site_to_delete );
3737
3838/**
39- * provide feedback (the newly created vouchers) in json format
39+ * provide feedback in json format
4040 */
41- echo json_encode ($ vouchers , JSON_PRETTY_PRINT );
41+ echo json_encode ($ results , JSON_PRETTY_PRINT );
You can’t perform that action at this time.
0 commit comments