Rename Friendica\Database\dba to Friendica\Database\DBA

This commit is contained in:
Hypolite Petovan 2018-07-20 08:19:26 -04:00
parent b6a1df0598
commit af6dbc654f
127 changed files with 1169 additions and 1169 deletions

View 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]);
}
}