From 8d2f141192cc7a82c679f6cd4f48d2dcd64483f5 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Wed, 24 Apr 2013 22:38:56 +0200 Subject: [PATCH] Optimizes code --- .../files/lib/data/page/menu/item/PageMenuItemAction.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } /** -- 2.20.1