Adds missing method
authorMatthias Schmidt <gravatronics@live.com>
Wed, 10 Jul 2013 17:02:39 +0000 (19:02 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Wed, 10 Jul 2013 17:02:39 +0000 (19:02 +0200)
wcfsetup/install/files/lib/data/package/update/PackageUpdate.class.php

index 10c14f3c661120e90ac4ccb99de19807799b7d43..8235b066d5a754f9a9ffc8e72d397a56286dd645 100644 (file)
@@ -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;
+       }
 }