]> git.mxchange.org Git - friendica.git/blobdiff - mod/starred.php
Class file relocations
[friendica.git] / mod / starred.php
index b0cb5bd1d6de0ec0d48bd78be104906193444292..5cd9c0fe18768a2a9b9a701e0bf180c6ec1d0652 100644 (file)
@@ -2,6 +2,7 @@
 
 use Friendica\App;
 use Friendica\Core\System;
+use Friendica\Database\DBM;
 
 function starred_init(App $a) {
 
@@ -23,7 +24,7 @@ function starred_init(App $a) {
                intval(local_user()),
                intval($message_id)
        );
-       if (! dbm::is_result($r)) {
+       if (! DBM::is_result($r)) {
                killme();
        }
 
@@ -49,7 +50,7 @@ function starred_init(App $a) {
                        $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