Removes unused method Package::getDependencies()
authorMatthias Schmidt <gravatronics@live.com>
Wed, 2 Jan 2013 13:34:11 +0000 (14:34 +0100)
committerMatthias Schmidt <gravatronics@live.com>
Wed, 2 Jan 2013 13:34:11 +0000 (14:34 +0100)
wcfsetup/install/files/lib/data/package/Package.class.php

index f133fd82b54c27cf068de11a96a271fe2991dafc..7863312002ab4ba289842e02ed9e47baf7e5146a 100644 (file)
@@ -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<wcf\data\package\Package>
-        */
-       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 <requiredpackages> tag