From: Matthias Schmidt Date: Wed, 10 Jul 2013 17:02:39 +0000 (+0200) Subject: Adds missing method X-Git-Tag: 2.0.0_Beta_5~81^2~1 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2ffce5b92f545bd50447d42ceb934062a0f2d44f;p=GitHub%2FWoltLab%2FWCF.git Adds missing method --- 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; + } }