]> git.mxchange.org Git - friendica.git/blobdiff - mod/share.php
Class file relocations
[friendica.git] / mod / share.php
index 7ddca0f30be8256df542c7c909d500caf51e9f6e..864199f01a26d79aaec75638f2ccf593e3237583 100644 (file)
@@ -1,6 +1,7 @@
 <?php
 
 use Friendica\App;
+use Friendica\Database\DBM;
 
 function share_init(App $a) {
 
@@ -15,7 +16,7 @@ function share_init(App $a) {
                intval($post_id),
                intval(local_user())
        );
-       if(! dbm::is_result($r) || ($r[0]['private'] == 1))
+       if(! DBM::is_result($r) || ($r[0]['private'] == 1))
                killme();
 
        if (strpos($r[0]['body'], "[/share]") !== false) {