phpstorm tidying

This commit is contained in:
Shish
2015-09-12 11:43:28 +01:00
parent 6c304420a6
commit 35a4f385b3
66 changed files with 82 additions and 98 deletions

View File

@ -29,14 +29,14 @@ class NumericScore extends Extension {
}
public function onDisplayingImage(DisplayingImageEvent $event) {
global $user, $page;
global $user;
if(!$user->is_anonymous()) {
$this->theme->get_voter($event->image);
}
}
public function onUserPageBuilding(UserPageBuildingEvent $event) {
global $page, $user;
global $user;
if($user->can("edit_other_vote")) {
$this->theme->get_nuller($event->display_user);
}