Fix init object list for database convert encoding worker
authorJoshua Rüsweg <josh@bastelstu.be>
Sat, 9 Mar 2019 18:39:18 +0000 (19:39 +0100)
committerJoshua Rüsweg <josh@bastelstu.be>
Sat, 9 Mar 2019 18:39:45 +0000 (19:39 +0100)
See 305e62339c6cacab1604bedb123bc55ca61f4083

wcfsetup/install/files/lib/system/worker/DatabaseConvertEncodingWorker.class.php

index 5d86779dc9120bb10b6873e593d2c93c96792ee2..c4ad4b9a12e77b635997f51199d5d9183d670648 100644 (file)
@@ -17,6 +17,15 @@ class DatabaseConvertEncodingWorker extends AbstractRebuildDataWorker {
         */
        protected $limit = 1;
        
+       /**
+        * @inheritDoc
+        */
+       public function initObjectList() {
+               // This rebuild worker has no database object list
+               // therefore we do nothing in this method an overwrite
+               // the parent method, that it does not throw an exception.
+       }
+       
        /**
         * @inheritDoc
         */