use Friendica\App;
use Friendica\Core\System;
+use Friendica\Database\DBM;
function ignored_init(App $a) {
intval(local_user()),
intval($message_id)
);
- if (! dbm::is_result($r)) {
+ if (! DBM::is_result($r)) {
killme();
}
if(strpos($return_path, '?')) $rand = "&$rand";
else $rand = "?$rand";
- goaway(App::get_baseurl() . "/" . $return_path . $rand);
+ goaway(System::baseUrl() . "/" . $return_path . $rand);
}
// the json doesn't really matter, it will either be 0 or 1