From 2ffce5b92f545bd50447d42ceb934062a0f2d44f Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Wed, 10 Jul 2013 19:02:39 +0200 Subject: [PATCH] Adds missing method --- .../lib/data/package/update/PackageUpdate.class.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/wcfsetup/install/files/lib/data/package/update/PackageUpdate.class.php b/wcfsetup/install/files/lib/data/package/update/PackageUpdate.class.php index 10c14f3c66..8235b066d5 100644 --- a/wcfsetup/install/files/lib/data/package/update/PackageUpdate.class.php +++ b/wcfsetup/install/files/lib/data/package/update/PackageUpdate.class.php @@ -22,4 +22,13 @@ class PackageUpdate extends DatabaseObject { * @see wcf\data\DatabaseObject::$databaseTableIndexName */ protected static $databaseTableIndexName = 'packageUpdateID'; + + /** + * Returns the name of the package the update belongs to. + * + * @return string + */ + public function getName() { + return $this->packageName; + } } -- 2.20.1