]> git.mxchange.org Git - friendica.git/blobdiff - mod/dfrn_request.php
Small cleanup
[friendica.git] / mod / dfrn_request.php
index 99b933625e541b4b861da8fe119845653e98ff33..2741ad59b4f2c1f3cc66eb4a064792df5120dd5c 100644 (file)
@@ -10,6 +10,7 @@
  */
 
 require_once('include/enotify.php');
+require_once('include/Scrape.php');
 
 if(! function_exists('dfrn_request_init')) {
 function dfrn_request_init(&$a) {
@@ -112,8 +113,6 @@ function dfrn_request_post(&$a) {
                                         * Scrape the other site's profile page to pick up the dfrn links, key, fn, and photo
                                         */
 
-                                       require_once('include/Scrape.php');
-
                                        $parms = scrape_dfrn($dfrn_url);
 
                                        if(! count($parms)) {