From 7c6ceed579a9c3c76e2c4fab81cccdf318786d73 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Mon, 16 Jun 2014 01:29:54 +0200 Subject: [PATCH] Fixed small issues --- .../files/lib/acp/form/CaptchaQuestionAddForm.class.php | 2 +- .../files/lib/acp/form/CaptchaQuestionEditForm.class.php | 1 - wcfsetup/install/lang/de.xml | 6 +++--- wcfsetup/install/lang/en.xml | 4 ++-- 4 files changed, 6 insertions(+), 7 deletions(-) diff --git a/wcfsetup/install/files/lib/acp/form/CaptchaQuestionAddForm.class.php b/wcfsetup/install/files/lib/acp/form/CaptchaQuestionAddForm.class.php index afa092dfea..de46210d7a 100644 --- a/wcfsetup/install/files/lib/acp/form/CaptchaQuestionAddForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/CaptchaQuestionAddForm.class.php @@ -40,7 +40,7 @@ class CaptchaQuestionAddForm extends AbstractForm { /** * @see \wcf\page\AbstractPage::$neededPermissions */ - public $neededPermissions = array('admin.display.canManageCaptchaQuestion'); + public $neededPermissions = array('admin.captcha.canManageCaptchaQuestion'); /** * @see \wcf\page\IPage::assignVariables() diff --git a/wcfsetup/install/files/lib/acp/form/CaptchaQuestionEditForm.class.php b/wcfsetup/install/files/lib/acp/form/CaptchaQuestionEditForm.class.php index bbdd8aab53..a43a2011ee 100644 --- a/wcfsetup/install/files/lib/acp/form/CaptchaQuestionEditForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/CaptchaQuestionEditForm.class.php @@ -2,7 +2,6 @@ namespace wcf\acp\form; use wcf\data\captcha\question\CaptchaQuestion; use wcf\data\captcha\question\CaptchaQuestionAction; -use wcf\data\captcha\question\CaptchaQuestionEditor; use wcf\form\AbstractForm; use wcf\system\exception\IllegalLinkException; use wcf\system\language\I18nHandler; diff --git a/wcfsetup/install/lang/de.xml b/wcfsetup/install/lang/de.xml index e8a9cf58aa..3552460a61 100644 --- a/wcfsetup/install/lang/de.xml +++ b/wcfsetup/install/lang/de.xml @@ -146,9 +146,9 @@ - + question|language}“ wirklich löschen?]]> - + @@ -433,7 +433,7 @@ - + diff --git a/wcfsetup/install/lang/en.xml b/wcfsetup/install/lang/en.xml index 70a2cdaeb1..8f86202afc 100644 --- a/wcfsetup/install/lang/en.xml +++ b/wcfsetup/install/lang/en.xml @@ -145,7 +145,7 @@ Examples for medium ID detection: - + question|language}”?]]> @@ -432,7 +432,7 @@ Examples for medium ID detection: - + -- 2.20.1