missed another 'Event'
This commit is contained in:
parent
4f892cad22
commit
c86786a69c
2
contrib/pm/main.php
Executable file → Normal file
2
contrib/pm/main.php
Executable file → Normal file
@ -86,7 +86,7 @@ class PrivMsg extends Extension {
|
|||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public function onUserPageBuilding(UserPageBuilding $event) {
|
public function onUserPageBuilding(UserPageBuildingEvent $event) {
|
||||||
global $page, $user;
|
global $page, $user;
|
||||||
$duser = $event->display_user;
|
$duser = $event->display_user;
|
||||||
if(!$user->is_anonymous() && !$duser->is_anonymous()) {
|
if(!$user->is_anonymous() && !$duser->is_anonymous()) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user