Preparing release 2.1.15
authorAlexander Ebert <ebert@woltlab.com>
Thu, 11 May 2017 13:03:31 +0000 (15:03 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Thu, 11 May 2017 13:03:31 +0000 (15:03 +0200)
com.woltlab.wcf/package.xml
wcfsetup/install/files/lib/form/AbstractModerationForm.class.php
wcfsetup/install/files/lib/system/WCF.class.php
wcfsetup/install/lang/en.xml

index 9ca15742c31d0035ab93894dd67fb593a9c28b1d..b9f8f8e30e3f617bee4faa0b93ef9f5863dc2a55 100644 (file)
@@ -5,8 +5,8 @@
                <packagedescription><![CDATA[Free web-framework, designed and developed for complex community applications.]]></packagedescription>
                <packagedescription language="de"><![CDATA[Freies Web-Framework, das für komplexe Community-Anwendungen entworfen und entwickelt wurde.]]></packagedescription>
                <isapplication>1</isapplication>
-               <version>2.1.14</version> <!-- codename: typhoon -->
-               <date>2017-04-06</date>
+               <version>2.1.15</version> <!-- codename: typhoon -->
+               <date>2017-05-11</date>
        </packageinformation>
        
        <authorinformation>
                <instruction type="script" run="standalone">acp/rebuild_comments_com.woltlab.wcf_2.1.php</instruction>
        </instructions>
        
-       <instructions type="update" fromversion="2.1.13">
+       <instructions type="update" fromversion="2.1.14">
                <instruction type="file">files_update.tar</instruction>
+               <instruction type="template">templates_update.tar</instruction>
+               
+               <instruction type="language">language/*.xml</instruction>
        </instructions>
 </package>
index a23736ab061760e93be9c4840087ede8d518cc57..fb93815f7e0e637f8aa974df77f506952847a60f 100644 (file)
@@ -75,6 +75,10 @@ abstract class AbstractModerationForm extends AbstractForm {
        public function readParameters() {
                parent::readParameters();
                
+               if (!WCF::getUser()->userID) {
+                       throw new PermissionDeniedException();
+               }
+               
                // if the moderation queue entry has been created after the user visited the
                // site the last time, they have not been assigned to the queue entry yet,
                // thus `ViewableModerationQueue::getViewableModerationQueue()` will always
index 4be98730f6c5d7aa94119e8c6a0be080171aedba..d64c5e954a0047418777e6752181a8a4de9da87b 100644 (file)
@@ -38,7 +38,7 @@ if (!@ini_get('date.timezone')) {
 }
 
 // define current wcf version
-define('WCF_VERSION', '2.1.14 (Typhoon)');
+define('WCF_VERSION', '2.1.15 (Typhoon)');
 
 // define current unix timestamp
 define('TIME_NOW', time());
index 7ec65fa1dc2b888eeb10814cea67ea214f881076..9a9a1f257e1898ec30a8ee1975e9145f3fdb51e0 100644 (file)
@@ -3318,4 +3318,4 @@ If you do not want to receive further email notifications for this event, you ca
        
        <!-- i18n categories -->
        <category name="wcf.smiley" />
-</language>
\ No newline at end of file
+</language>