X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fuexport.php;h=2ada9bc28923fe0d9a65575d3174bf4f3dc545c1;hb=2196a0577b29dcec1ba4d2c32be10fa5f0e91034;hp=b00f9bdf927e44188e3b8c8aea2f84a77b08ac75;hpb=1c38540f20b3207a0fd09ef0802125e45e83bcf6;p=friendica.git diff --git a/mod/uexport.php b/mod/uexport.php index b00f9bdf92..2ada9bc289 100644 --- a/mod/uexport.php +++ b/mod/uexport.php @@ -1,6 +1,8 @@ App::get_baseurl(), + '$baseurl' => System::baseUrl(), '$title' => t('Export personal data'), '$options' => $options )); @@ -51,7 +53,7 @@ function uexport_content(App $a) { function _uexport_multirow($query) { $result = array(); $r = q($query); - if (dbm::is_result($r)) { + if (DBM::is_result($r)) { foreach ($r as $rr) { $p = array(); foreach ($rr as $k => $v) { @@ -66,7 +68,7 @@ function _uexport_multirow($query) { function _uexport_row($query) { $result = array(); $r = q($query); - if (dbm::is_result($r)) { + if (DBM::is_result($r)) { foreach ($r as $rr) { foreach ($rr as $k => $v) { $result[$k] = $v; @@ -113,7 +115,7 @@ function uexport_account($a) { $output = array( 'version' => FRIENDICA_VERSION, 'schema' => DB_UPDATE_VERSION, - 'baseurl' => App::get_baseurl(), + 'baseurl' => System::baseUrl(), 'user' => $user, 'contact' => $contact, 'profile' => $profile, @@ -138,7 +140,7 @@ function uexport_all(App $a) { $r = q("SELECT count(*) as `total` FROM `item` WHERE `uid` = %d ", intval(local_user()) ); - if (dbm::is_result($r)) { + if (DBM::is_result($r)) { $total = $r[0]['total']; } // chunk the output to avoid exhausting memory