PSR2 Cleanup: /html edition

Travis tests for code conformance. Ignore warnings for now.
Fixed all errors, left most warnings.
This commit is contained in:
Tony Murray
2016-08-18 20:28:22 -05:00
parent f0c82498b5
commit 8c639aa5a4
468 changed files with 6605 additions and 7629 deletions

View File

@@ -13,7 +13,7 @@
*/
if (is_admin() === false) {
header('Content-type: text/plain');
header('Content-type: text/plain');
die('ERROR: You need to be admin');
}
@@ -25,6 +25,6 @@ if (is_numeric($group_id) && $group_id > 0) {
'group_name' => $group['group_name'],
'descr' => $group['descr'],
);
header('Content-type: application/json');
header('Content-type: application/json');
echo _json_encode($output);
}