Disable like_enable_dislike option
authorJoshua Rüsweg <josh@bastelstu.be>
Thu, 2 Aug 2018 08:57:36 +0000 (10:57 +0200)
committerJoshua Rüsweg <josh@bastelstu.be>
Thu, 2 Aug 2018 08:57:36 +0000 (10:57 +0200)
See #2508

com.woltlab.wcf/option.xml
wcfsetup/install/files/acp/update-com.woltlab.wcf_3.2_reactionUpdate.php

index f377915e8bffe6f5e410c2ddf9a26f9aca676a3a..0e4f78b18c141d0dd038e589c398feda644764ce 100644 (file)
@@ -1445,6 +1445,7 @@ DESC:wcf.global.sortOrder.descending</selectoptions>
                                <optiontype>boolean</optiontype>
                                <defaultvalue>0</defaultvalue>
                                <options>module_like</options>
+                               <hidden>1</hidden>
                        </option>
                        
                        <option name="like_show_summary">
index 982428836c9cafa479eb276b82a4777a65ba3ef9..1e03e38219dd41bff120631641ab83afbe826f45 100644 (file)
@@ -8,7 +8,7 @@ use wcf\data\option\OptionEditor;
  * @package    WoltLabSuite\Core
  */
 
-// disable the deprecated option `like_show_summary`
 OptionEditor::import([
-       'like_show_summary' => 0
+       'like_show_summary' => 0,
+       'like_enable_dislike' => 0
 ]);