Remove obsolete TODOs
authorMatthias Schmidt <gravatronics@live.com>
Sun, 10 May 2020 14:32:26 +0000 (16:32 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Sun, 10 May 2020 14:32:26 +0000 (16:32 +0200)
wcfsetup/install/files/lib/data/package/installation/plugin/PackageInstallationPluginAction.class.php
wcfsetup/install/files/lib/data/user/notification/event/UserNotificationEventAction.class.php

index 222e8aa1cffaba2d4db96f60d200efddd8c3d369..dbf70fb30fa22be8098abf812082a8f1d9013444 100644 (file)
@@ -109,11 +109,6 @@ class PackageInstallationPluginAction extends AbstractDatabaseObjectAction {
                        throw new \RuntimeException("PIP '{$this->packageInstallationPlugin->pluginName}' is not allowed to throw a 'SplitNodeException'.");
                }
                
-               // clear cache
-               
-               // TODO: use a central method instead!
-               
-               // create search index tables
                SearchIndexManager::getInstance()->createSearchIndices();
                
                VersionTracker::getInstance()->createStorageTables();
index 910ee331570b86b671268445e4271f5ddb3d9e57..ed5f390283b95423de58a79adf99f25947b6869e 100644 (file)
@@ -99,7 +99,6 @@ class UserNotificationEventAction extends AbstractDatabaseObjectAction {
                $getRenderedException = function($e) {
                        \wcf\functions\exception\logThrowable($e);
                        
-                       // TODO: output could/should be improved in the future
                        return $e->getMessage();
                };