From e5b37c2d65ac489297161e743da92bab9ef68fa1 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Mon, 29 Jul 2013 12:56:19 +0200 Subject: [PATCH] Updating package update lists upon searching --- .../files/lib/data/package/update/PackageUpdateAction.class.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wcfsetup/install/files/lib/data/package/update/PackageUpdateAction.class.php b/wcfsetup/install/files/lib/data/package/update/PackageUpdateAction.class.php index f6a00163c4..4912f3611b 100644 --- a/wcfsetup/install/files/lib/data/package/update/PackageUpdateAction.class.php +++ b/wcfsetup/install/files/lib/data/package/update/PackageUpdateAction.class.php @@ -59,6 +59,8 @@ class PackageUpdateAction extends AbstractDatabaseObjectAction { * @return array */ public function search() { + PackageUpdateDispatcher::getInstance()->refreshPackageDatabase(); + $conditions = new PreparedStatementConditionBuilder(); if (!empty($this->parameters['package'])) { $conditions->add("package_update.package LIKE ?", array('%'.$this->parameters['package'].'%')); -- 2.20.1