From: Matthias Schmidt Date: Wed, 24 Apr 2013 20:38:56 +0000 (+0200) Subject: Optimizes code X-Git-Tag: 2.0.0_Beta_1~301^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8d2f141192cc7a82c679f6cd4f48d2dcd64483f5;p=GitHub%2FWoltLab%2FWCF.git Optimizes code --- diff --git a/wcfsetup/install/files/lib/data/page/menu/item/PageMenuItemAction.class.php b/wcfsetup/install/files/lib/data/page/menu/item/PageMenuItemAction.class.php index 240f43e538..c792fc0dd9 100644 --- a/wcfsetup/install/files/lib/data/page/menu/item/PageMenuItemAction.class.php +++ b/wcfsetup/install/files/lib/data/page/menu/item/PageMenuItemAction.class.php @@ -161,7 +161,7 @@ class PageMenuItemAction extends AbstractDatabaseObjectAction implements ISortab throw new PermissionDeniedException(); } - parent::validateUpdate(); + WCF::getSession()->checkPermissions($this->permissionsUpdate); } /**