use Friendica\Core\Addon;
use Friendica\Core\L10n;
use Friendica\Core\PConfig;
-use Friendica\Database\dba;
+use Friendica\Database\DBA;
use Friendica\Util\Network;
function wppost_install() {
// Dont't post if the post doesn't belong to us.
// This is a check for forum postings
- $self = dba::selectFirst('contact', ['id'], ['uid' => $b['uid'], 'self' => true]);
+ $self = DBA::selectFirst('contact', ['id'], ['uid' => $b['uid'], 'self' => true]);
if ($b['contact-id'] != $self['id']) {
return;
}