]> git.mxchange.org Git - friendica.git/blobdiff - src/Worker/RemoveContact.php
Rename Friendica\Database\dba to Friendica\Database\DBA
[friendica.git] / src / Worker / RemoveContact.php
index aa2325d5492e4bd67073b4fdcc1b2bfc80a47847..40ac937f100ed4656a3ff251eecceea7aeb4bfbe 100644 (file)
@@ -5,7 +5,7 @@
  */
 namespace Friendica\Worker;
 
-use Friendica\Database\dba;
+use Friendica\Database\DBA;
 
 require_once 'include/dba.php';
 
@@ -13,12 +13,12 @@ class RemoveContact {
        public static function execute($id) {
 
                // Only delete if the contact doesn't exist (anymore)
-               $r = dba::exists('contact', ['id' => $id]);
+               $r = DBA::exists('contact', ['id' => $id]);
                if ($r) {
                        return;
                }
 
                // Now we delete all the depending table entries
-               dba::delete('contact', ['id' => $id]);
+               DBA::delete('contact', ['id' => $id]);
        }
 }