* Abstract implementation of a category type.
*
* @author Matthias Schmidt
- * @copyright 2001-2017 WoltLab GmbH
+ * @copyright 2001-2018 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package WoltLabSuite\Core\System\Category
*/
protected $permissionPrefix = '';
/**
- * maximum category nesting lebel
+ * maximum category nesting label
* @var integer
*/
protected $maximumNestingLevel = -1;
}
}
+ /**
+ * @inheritDoc
+ */
+ public function beforeDeletion(CategoryEditor $categoryEditor) {
+ // does nothing
+ }
+
/**
* @inheritDoc
*/
public function hasDescription() {
return $this->hasDescription;
}
+
+ /**
+ * @inheritDoc
+ * @since 5.2
+ */
+ public function supportsHtmlDescription() {
+ return false;
+ }
}