<defaultvalue>1</defaultvalue>
</option>
- <option name="module_attachment">
- <categoryname>module.content</categoryname>
- <optiontype>boolean</optiontype>
- <defaultvalue>1</defaultvalue>
- </option>
-
<option name="module_smiley">
<categoryname>module.customization</categoryname>
<optiontype>boolean</optiontype>
</import>
<delete>
- <option name="cache_source_memcached_use_pconnect" />
- <option name="http_enable_no_cache_headers" />
- <option name="http_gzip_level" />
- <option name="enable_pluginstore_widget" />
- <option name="mail_use_formatted_address" />
- <option name="mail_debug_logfile_path" />
- <option name="recent_activity_items" />
- <option name="recent_activity_sidebar_items" />
- <option name="enable_bbcodes_default_value" />
- <option name="enable_html_default_value" />
- <option name="enable_smilies_default_value" />
- <option name="pre_parse_default_value" />
- <option name="show_signature_default_value" />
- <option name="module_dashboard_page" />
- <option name="module_privacy_policy_page" />
- <option name="show_clock" />
- <option name="url_controller_replacement" />
- <option name="share_buttons_show_count" />
- <option name="max_avatar_width" />
- <option name="max_avatar_height" />
- <option name="message_sidebar_enable_rank" />
- <option name="message_sidebar_enable_avatar" />
- <option name="message_sidebar_enable_message_group_starter_icon" />
- <option name="jquery_source" />
-
- <optioncategory name="dashboard.content.recentActivities" />
- <optioncategory name="dashboard.sidebar.recentActivities" />
- <optioncategory name="module.display" />
- <optioncategory name="general.system.jquery" />
+ <option name="module_attachment" />
</delete>
</data>
* database object
* @var MySQLDatabase
*/
- protected static $dbObj = null;
+ protected static $dbObj;
/**
* language object
* @var \wcf\data\language\Language
*/
- protected static $languageObj = null;
+ protected static $languageObj;
/**
* overrides disabled debug mode
* session object
* @var SessionHandler
*/
- protected static $sessionObj = null;
+ protected static $sessionObj;
/**
* template object
* @var TemplateEngine
*/
- protected static $tplObj = null;
+ protected static $tplObj;
/**
* true if Zend Opcache is loaded and enabled
* @var boolean
*/
- protected static $zendOpcacheEnabled = null;
+ protected static $zendOpcacheEnabled;
/**
* force logout during destructor call
* Loads the options file, automatically created if not exists.
*/
protected function loadOptions() {
+ // the attachment module is always enabled since 3.2
+ // https://github.com/WoltLab/WCF/issues/2531
+ define('MODULE_ATTACHMENT', 1);
+
$filename = WCF_DIR.'options.inc.php';
// create options file if doesn't exist