]> git.mxchange.org Git - friendica.git/blobdiff - mod/ignored.php
Use gravity instead of verb
[friendica.git] / mod / ignored.php
index a7c3ba6e1d37fdf3bb30263019b70274739bd8a1..9931a556a6701e0ec9e37ddd835ea62dbf2dc84e 100644 (file)
@@ -1,6 +1,8 @@
 <?php
 
 use Friendica\App;
+use Friendica\Core\System;
+use Friendica\Database\DBM;
 
 function ignored_init(App $a) {
 
@@ -20,7 +22,7 @@ function ignored_init(App $a) {
                intval(local_user()),
                intval($message_id)
        );
-       if (! dbm::is_result($r)) {
+       if (! DBM::is_result($r)) {
                killme();
        }
 
@@ -41,7 +43,7 @@ function ignored_init(App $a) {
                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