Example #1
0
 private function importUrl()
 {
     Module::dependencies(isset($_POST['url'], $_POST['albumID']));
     echo Import::url($_POST['url'], $_POST['albumID']);
 }
Example #2
0
 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']);
 }