summaryrefslogtreecommitdiffstats
path: root/pyload/api/DownloadApi.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/api/DownloadApi.py')
-rw-r--r--pyload/api/DownloadApi.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/pyload/api/DownloadApi.py b/pyload/api/DownloadApi.py
index 0a01007b5..d855dd882 100644
--- a/pyload/api/DownloadApi.py
+++ b/pyload/api/DownloadApi.py
@@ -12,17 +12,6 @@ class DownloadApi(ApiComponent):
""" Component to create, add, delete or modify downloads."""
@RequirePerm(Permission.Add)
- def generateAndAddPackages(self, links, paused=False):
- """Generates and add packages
-
- :param links: list of urls
- :param paused: paused package
- :return: list of package ids
- """
- return [self.addPackageP(name, urls, "", paused) for name, urls
- in self.generatePackages(links).iteritems()]
-
- @RequirePerm(Permission.Add)
def createPackage(self, name, folder, root, password="", site="", comment="", paused=False):
"""Create a new package.