rename App Methods
- rename get_baseurl() to getBaseURL()
This commit is contained in:
@@ -121,7 +121,7 @@ function langfilter_prepare_body_content_filter(App $a, &$hook_data)
|
||||
|
||||
// Never filter own messages
|
||||
// TODO: find a better way to extract this
|
||||
$logged_user_profile = $a->get_baseurl() . '/profile/' . $a->user['nickname'];
|
||||
$logged_user_profile = $a->getBaseURL() . '/profile/' . $a->user['nickname'];
|
||||
if ($logged_user_profile == $hook_data['item']['author-link']) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user