From: Marcel Werk Date: Wed, 13 Jul 2016 10:13:58 +0000 (+0200) Subject: Added default article category X-Git-Tag: 3.0.0_Beta_1~1179 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=14b0bfab18671d77e095bfbea4f103912947c155;p=GitHub%2FWoltLab%2FWCF.git Added default article category --- diff --git a/wcfsetup/install/files/acp/post_install.php b/wcfsetup/install/files/acp/post_install.php index c606ef1f3b..607c357514 100644 --- a/wcfsetup/install/files/acp/post_install.php +++ b/wcfsetup/install/files/acp/post_install.php @@ -1,4 +1,6 @@ executeAction(); $action = new UserProfileAction([$editor], 'updateUserOnlineMarking'); $action->executeAction(); + +// add default article category +CategoryEditor::create([ + 'objectTypeID' => ObjectTypeCache::getInstance()->getObjectTypeIDByName('com.woltlab.wcf.category', 'com.woltlab.wcf.article.category'), + 'title' => 'Default Category', + 'time' => TIME_NOW +]);