1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-09 18:26:32 +02:00

[ticket/13740] Fix CS and docblocks

PHPBB3-13740
This commit is contained in:
Mate Bartus
2015-07-21 14:42:15 +02:00
parent 0488c49116
commit b2b9fb1df2
10 changed files with 36 additions and 62 deletions

View File

@@ -96,10 +96,6 @@ class ajax_iohandler extends iohandler_base
*/
public function add_user_form_group($title, $form)
{
//
// This code is pretty ugly... but works
//
$this->template->assign_var('S_FORM_ELEM_COUNT', sizeof($form));
$this->template->assign_block_vars('options', array(
@@ -166,8 +162,8 @@ class ajax_iohandler extends iohandler_base
$json_data = json_encode($json_data_array);
// Try to push content to the browser
print (str_pad(' ', 4096) . "\n");
print ($json_data . "\n\n");
print(str_pad(' ', 4096) . "\n");
print($json_data . "\n\n");
flush();
}