private function importUrl() { Module::dependencies(isset($_POST['url'], $_POST['albumID'])); echo Import::url($_POST['url'], $_POST['albumID']); }
private function importUrl() { Module::dependencies(isset($_POST['url'], $_POST['albumID'])); $import = new Import($this->database, $this->plugins, $this->settings); echo $import->url($_POST['url'], $_POST['albumID']); }