]> git.mxchange.org Git - friendica.git/commitdiff
moved include Scape to top of the file
authorTobias Diekershoff <tobias.diekershoff@gmx.net>
Sun, 3 Jan 2016 18:15:13 +0000 (19:15 +0100)
committerTobias Diekershoff <tobias.diekershoff@gmx.net>
Sun, 3 Jan 2016 18:15:13 +0000 (19:15 +0100)
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)) {