Skip to content

Commit

Permalink
We only have to include this file once, and that is at the start of m…
Browse files Browse the repository at this point in the history
…e.php
  • Loading branch information
Yannick committed Nov 19, 2014
1 parent aa268a9 commit df261c6
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions me.php
Original file line number Diff line number Diff line change
Expand Up @@ -459,9 +459,6 @@
else if ($form['signature'] && $luna_config['p_sig_all_caps'] == '0' && is_all_uppercase($form['signature']) && !$luna_user['is_admmod'])
$form['signature'] = utf8_ucwords(utf8_strtolower($form['signature']));

// Validate BBCode syntax
require FORUM_ROOT.'include/parser.php';

$errors = array();
$form['signature'] = preparse_bbcode($form['signature'], $errors, true);

Expand Down Expand Up @@ -605,7 +602,6 @@
$last_post = format_time($user['last_post']);

if ($user['signature'] != '') {
require FORUM_ROOT.'include/parser.php';
$parsed_signature = parse_signature($user['signature']);
}

Expand Down

0 comments on commit df261c6

Please sign in to comment.