From: Matthias Schmidt Date: Wed, 2 Jan 2013 13:34:11 +0000 (+0100) Subject: Removes unused method Package::getDependencies() X-Git-Tag: 2.0.0_Beta_1~606^2~4^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6fdcade33071e8e3095b7c27390df74cebfb6889;p=GitHub%2FWoltLab%2FWCF.git Removes unused method Package::getDependencies() --- diff --git a/wcfsetup/install/files/lib/data/package/Package.class.php b/wcfsetup/install/files/lib/data/package/Package.class.php index f133fd82b5..7863312002 100644 --- a/wcfsetup/install/files/lib/data/package/Package.class.php +++ b/wcfsetup/install/files/lib/data/package/Package.class.php @@ -116,21 +116,6 @@ class Package extends DatabaseObject { return array_pop($array); } - /** - * Returns a list of all by this package required packages. - * Contains required packages and the requirements of the required packages. - * - * @return array - */ - public function getDependencies() { - if ($this->dependencies === null) { - // todo - throw new SystemException("Package::getDependencies()"); - } - - return $this->dependencies; - } - /** * Returns the list of packages which are required by this package. The * returned packages are the packages given in the tag