use wcf\acp\form\LicenseEditForm;
use wcf\data\package\Package;
use wcf\data\package\update\PackageUpdate;
-use wcf\data\package\update\PackageUpdateAction;
use wcf\data\package\update\server\PackageUpdateServer;
use wcf\page\AbstractPage;
use wcf\system\database\util\PreparedStatementConditionBuilder;
use wcf\system\package\license\LicenseApi;
use wcf\system\package\license\LicenseData;
+use wcf\system\package\PackageUpdateDispatcher;
use wcf\system\request\LinkHandler;
use wcf\system\WCF;
);
}
- (new PackageUpdateAction([], 'refreshDatabase'))->executeAction();
+ PackageUpdateDispatcher::getInstance()->refreshPackageDatabase();
$licenseApi = new LicenseApi();
$this->licenseData = $licenseApi->fetchFromRemote();